!4 setserial delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-13 08:50:07 +00:00 committed by Gitee
commit 665fc768ef

View File

@ -1,7 +1,7 @@
%define _bindir /bin
Name: setserial
Version: 2.17
Release: 51
Release: 52
Summary: A utility for configuring serial ports
License: GPL+
URL: http://setserial.sourceforge.net
@ -13,7 +13,7 @@ Patch2: setserial-2.17-spelling.patch
Patch3: setserial-hayesesp.patch
Patch4: setserial-aarch64.patch
BuildRequires: gcc groff git
BuildRequires: gcc groff
%description
setserial is a program designed to set and/or report the
@ -22,7 +22,7 @@ configuration information associated with a serial port.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
%set_build_flags
@ -47,6 +47,9 @@ install -d %{buildroot}/%{_mandir}/man8
%{_mandir}/man*/*.gz
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.17-52
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 2.17-51
- Type:requirement
- ID:NA