cleanup spec
(cherry picked from commit 552ec57fa4e1ddfbfa4555913dd0eb3a30d3b379)
This commit is contained in:
parent
c478c9968d
commit
2f8fc4bc12
24
libusb.spec
24
libusb.spec
@ -1,13 +1,15 @@
|
|||||||
Name: libusb
|
Name: libusb
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.1.8
|
Version: 0.1.8
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: USB Library
|
Summary: USB Library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/libusb/
|
URL: https://sourceforge.net/projects/libusb/
|
||||||
Source0: http://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
Source0: https://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
||||||
Patch0: 0000-Link-with-znodelete-to-disallow-unloading.patch
|
Patch0: 0000-Link-with-znodelete-to-disallow-unloading.patch
|
||||||
BuildRequires: gcc libusb1-devel libtool
|
BuildRequires: gcc
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
BuildREquires: pkgconfig(libusb-1.0) >= 0.9.1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a library that allows userspace access to USB devices.
|
This package provides a library that allows userspace access to USB devices.
|
||||||
@ -28,19 +30,16 @@ This package contains the files needed to develop applications that use libusb-0
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%delete_la
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%{_libdir}/libusb-0.1.so.*
|
%{_libdir}/libusb-0.1.so.*
|
||||||
%{_libdir}/libusb.la
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -49,6 +48,9 @@ make check
|
|||||||
%{_libdir}/libusb.so
|
%{_libdir}/libusb.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1:0.1.8-2
|
||||||
|
- cleanup spec
|
||||||
|
|
||||||
* Mon Jul 17 2023 Kunlin Yang <yangkunlin7@huawei.com> - 1:0.1.8-1
|
* Mon Jul 17 2023 Kunlin Yang <yangkunlin7@huawei.com> - 1:0.1.8-1
|
||||||
- update from 0.1.5 to 0.1.8
|
- update from 0.1.5 to 0.1.8
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user