!4 texi2html delete -Sgit 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-20 10:06:24 +00:00 committed by Gitee
commit 3c6ebf5490

View File

@ -1,6 +1,6 @@
Name: texi2html
Version: 5.0
Release: 14
Release: 15
License: GPLv2+ and OFSFDL and (CC-BY-SA or GPLv2)
Summary: Tools for converting Texinfo source files to HTML output
URL: http://www.nongnu.org/texi2html/
@ -15,7 +15,7 @@ Requires: perl-interpreter >= 5.004
Requires: perl(Locale::Messages)
Requires: perl(Text::Unidecode)
Requires: perl(Unicode::EastAsianWidth)
BuildRequires: git automake gcc
BuildRequires: automake gcc
BuildArch: noarch
%description
@ -30,7 +30,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
# Remove bundled modules
rm -r lib
# Regenerate build script because of the patch
@ -74,6 +74,9 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinf
%{_mandir}/man*/%{name}*
%changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.0-15
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 5.0-14
- Completing build dependencies to fix automake command and gcc missing error