!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
|
||||
Epoch: 1
|
||||
Version: 0.1.5
|
||||
Release: 17
|
||||
Release: 18
|
||||
Summary: USB Library
|
||||
License: LGPLv2+
|
||||
URL: http://sourceforge.net/projects/libusb/
|
||||
Source0: http://downloads.sourceforge.net/libusb/libusb-compat-%{version}.tar.bz2
|
||||
Patch0: 0000-Link-with-znodelete-to-disallow-unloading.patch
|
||||
Patch1: 0001-Revert-use-atexit-to-call-libusb_exit.patch
|
||||
BuildRequires: gcc libusb1-devel git
|
||||
BuildRequires: gcc libusb1-devel
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit -n libusb-compat-%{version}
|
||||
%autosetup -n libusb-compat-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -49,6 +49,9 @@ make check
|
||||
%{_libdir}/libusb.so
|
||||
|
||||
%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
|
||||
- add make check
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user