delete -S git from %autosetup, and delete BuildRequires git

(cherry picked from commit 510cd8252869130a2a9ec6a375bb79a50e25185a)
This commit is contained in:
chenyanpanHW 2021-07-30 23:39:43 +08:00 committed by openeuler-sync-bot
parent 456688a14c
commit c6bec291a1

View File

@ -1,6 +1,6 @@
Name: usbutils
Version: 012
Release: 3
Release: 4
Summary: Linux utilities for USB device
License: GPLv2+
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
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
Requires: hwdata
@ -26,7 +26,7 @@ This contains man files for the using of usbutils.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
autoreconf --install --symlink
@ -47,6 +47,9 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_defaultlicensedir}/%{name}/GPL-3.0.t
%{_mandir}/*/*
%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
- backport one patch to init string buffer before reading from it