!12 [sync] PR-10: cleanup spec
From: @openeuler-sync-bot Reviewed-by: @swf504 Signed-off-by: @swf504
This commit is contained in:
commit
c57bbcf3a2
24
libusb.spec
24
libusb.spec
@ -1,13 +1,15 @@
|
||||
Name: libusb
|
||||
Epoch: 1
|
||||
Version: 0.1.8
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: USB Library
|
||||
License: LGPLv2+
|
||||
URL: http://sourceforge.net/projects/libusb/
|
||||
Source0: http://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
||||
URL: https://sourceforge.net/projects/libusb/
|
||||
Source0: https://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
||||
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
|
||||
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
|
||||
|
||||
%check
|
||||
make check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%delete_la
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%{_libdir}/libusb-0.1.so.*
|
||||
%{_libdir}/libusb.la
|
||||
|
||||
%files devel
|
||||
%{_bindir}/*
|
||||
@ -49,6 +48,9 @@ make check
|
||||
%{_libdir}/libusb.so
|
||||
|
||||
%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
|
||||
- update from 0.1.5 to 0.1.8
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user