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

This commit is contained in:
chenyanpanHW 2021-07-30 23:39:43 +08:00
parent 3673255d24
commit 07dd19fe4c
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: usbutils Name: usbutils
Version: 012 Version: 012
Release: 2 Release: 3
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/
@ -11,7 +11,7 @@ Source2: GPL-3.0.txt
Patch1: 0001-usbmisc-initialize-string-buffer-before-reading-from.patch 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 Requires: hwdata
%description %description
@ -25,7 +25,7 @@ Requires: man
This contains man files for the using of usbutils. 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 -vif autoreconf -vif
@ -46,6 +46,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-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> -012-2 * Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> -012-2
- backport one patch to init string buffer before reading from it - backport one patch to init string buffer before reading from it