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

This commit is contained in:
chenyanpanHW 2021-07-31 15:25:32 +08:00
parent 04c05c017d
commit 38babacf6a
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,11 @@
Name: hunspell-ku
Summary: Kurdish hunspell dictionaries for hunspell used in OpenOffice
Version: 0.21
Release: 21
Release: 22
Source0: http://downloads.sourceforge.net/myspellkurdish/ku_TR-021.zip
URL: https://sourceforge.net/projects/myspellkurdish/
License: GPLv3 or LGPLv3 or MPLv1.1
BuildArch: noarch
BuildRequires: git
Requires: hunspell
Supplements: (hunspell and langpacks-ku)
@ -14,7 +13,7 @@ Supplements: (hunspell and langpacks-ku)
Kurdish hunspell dictionaries for hunspell used in OpenOffice.
%prep
%autosetup -n ku_TR -p1 -S git
%autosetup -n ku_TR -p1
%build
if ! iconv -f utf-8 -t utf-8 -o /dev/null README_ku_TR.txt > /dev/null 2>&1; then
@ -37,6 +36,9 @@ cd -
%{_datadir}/myspell/*
%changelog
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.21-22
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.21-21
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires