!5 libusb delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
dd873a5e2b
@ -1,14 +1,14 @@
|
|||||||
Name: libusb
|
Name: libusb
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.1.5
|
Version: 0.1.5
|
||||||
Release: 17
|
Release: 18
|
||||||
Summary: USB Library
|
Summary: USB Library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/libusb/
|
URL: http://sourceforge.net/projects/libusb/
|
||||||
Source0: http://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
Source0: http://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
|
||||||
Patch1: 0001-Revert-use-atexit-to-call-libusb_exit.patch
|
Patch1: 0001-Revert-use-atexit-to-call-libusb_exit.patch
|
||||||
BuildRequires: gcc libusb1-devel git
|
BuildRequires: gcc libusb1-devel
|
||||||
|
|
||||||
%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.
|
||||||
@ -21,7 +21,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|||||||
This package contains the files needed to develop applications that use libusb-0.1.
|
This package contains the files needed to develop applications that use libusb-0.1.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n libusb-compat-%{version}
|
%autosetup -n libusb-compat-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -49,6 +49,9 @@ make check
|
|||||||
%{_libdir}/libusb.so
|
%{_libdir}/libusb.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1.5-18
|
||||||
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@hauwei.com> - 1:0.1.5-17
|
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@hauwei.com> - 1:0.1.5-17
|
||||||
- add make check
|
- add make check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user