!4 hunspell-ku 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:17 +00:00 committed by Gitee
commit 14c3b80cb9

View File

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