!6 usbutils delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-07-31 07:33:15 +00:00 committed by Gitee
commit 6dd40036f0

View File

@ -1,6 +1,6 @@
Name: usbutils
Version: 012
Release: 2
Release: 3
Summary: Linux utilities for USB device
License: GPLv2+
URL: http://www.linux-usb.org/
@ -11,7 +11,7 @@ Source2: GPL-3.0.txt
Patch1: 0001-usbmisc-initialize-string-buffer-before-reading-from.patch
BuildRequires: libusbx-devel systemd-devel git gcc autoconf automake libtool
BuildRequires: libusbx-devel systemd-devel gcc autoconf automake libtool
Requires: hwdata
%description
@ -25,7 +25,7 @@ Requires: man
This contains man files for the using of usbutils.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -vif
@ -46,6 +46,9 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_defaultlicensedir}/%{name}/GPL-3.0.t
%{_mandir}/*/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 012-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> -012-2
- backport one patch to init string buffer before reading from it