!3 hyphen-fo 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-20 10:02:52 +00:00 committed by Gitee
commit cde8b0060f

View File

@ -1,13 +1,12 @@
Name: hyphen-fo
Version: 0.20040420
Release: 16
Release: 17
Summary: Faroese dictionary for spell checking
License: GPL+
URL: http://fo.speling.org/
Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip
Requires: hyphen
BuildRequires: git
Supplements: (hyphen and langpacks-fo)
BuildArch: noarch
@ -15,7 +14,7 @@ BuildArch: noarch
Faroese dictionary for spell checking.
%prep
%autosetup -c -p1 -S git
%autosetup -c -p1
%build
if ! iconv -f utf-8 -t utf-8 -o /dev/null README_hyph_fo_FO.txt > /dev/null 2>&1; then
@ -36,6 +35,9 @@ install -Dp hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_fo_FO.dic
%{_datadir}/hyphen/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.20040420-17
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jun 02 2021 wulei <wulei80@huawei.com> - 0.20010420-16
- fixes failed: git no such file or directory