delete -S git from %autosetup, and delete BuildRequires git
(cherry picked from commit 510cd8252869130a2a9ec6a375bb79a50e25185a)
This commit is contained in:
parent
456688a14c
commit
c6bec291a1
@ -1,6 +1,6 @@
|
|||||||
Name: usbutils
|
Name: usbutils
|
||||||
Version: 012
|
Version: 012
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Linux utilities for USB device
|
Summary: Linux utilities for USB device
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.linux-usb.org/
|
URL: http://www.linux-usb.org/
|
||||||
@ -9,7 +9,7 @@ Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.
|
|||||||
Source1: GPL-2.0.txt
|
Source1: GPL-2.0.txt
|
||||||
Source2: GPL-3.0.txt
|
Source2: GPL-3.0.txt
|
||||||
|
|
||||||
BuildRequires: libusbx-devel systemd-devel git gcc libtool
|
BuildRequires: libusbx-devel systemd-devel gcc libtool
|
||||||
Patch1: 0001-usbmisc-initialize-string-buffer-before-reading-from.patch
|
Patch1: 0001-usbmisc-initialize-string-buffer-before-reading-from.patch
|
||||||
|
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
@ -26,7 +26,7 @@ This contains man files for the using of usbutils.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -S git
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --install --symlink
|
autoreconf --install --symlink
|
||||||
@ -47,6 +47,9 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_defaultlicensedir}/%{name}/GPL-3.0.t
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 012-4
|
||||||
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 012-3
|
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 012-3
|
||||||
- backport one patch to init string buffer before reading from it
|
- backport one patch to init string buffer before reading from it
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user