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

This commit is contained in:
chenyanpanHW 2021-07-30 22:52:35 +08:00
parent b7f54a2bdc
commit 3b45e8b2ab
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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