!4 hunspell-kk 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:01:55 +00:00 committed by Gitee
commit 01f04290c6

View File

@ -1,12 +1,11 @@
Name: hunspell-kk
Summary: Kazakh hunspell dictionaries for hunspell used in OpenOffice.
Version: 1.1
Release: 17
Release: 18
Source: https://downloads.sourceforge.net/project/aoo-extensions/1172/12/dict-kk.oxt
URL: http://extensions.services.openoffice.org/project/dict-kk
License: GPLv2+ or LGPLv2+ or MPLv1.1
BuildArch: noarch
BuildRequires: git
Requires: hunspell
Supplements: (hunspell and langpacks-kk)
@ -14,7 +13,7 @@ Supplements: (hunspell and langpacks-kk)
The package provide hunspell dictionaries for kazakh language.
%prep
%autosetup -c -n hunspell-kk -p1 -S git
%autosetup -c -n hunspell-kk -p1
%build
tr -d '\r' < README_kk_KZ.txt > README_kk_KZ.txt.new;touch -r README_kk_KZ.txt README_kk_KZ.txt.new
@ -29,6 +28,9 @@ install -p kk_KZ.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%{_datadir}/myspell/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1-18
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 1.1-17
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires