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

This commit is contained in:
chenyanpanHW 2021-07-30 22:50:42 +08:00
parent 77d641fe79
commit 094e83d9a5
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,11 @@
Name: hunspell-kk Name: hunspell-kk
Summary: Kazakh hunspell dictionaries for hunspell used in OpenOffice. Summary: Kazakh hunspell dictionaries for hunspell used in OpenOffice.
Version: 1.1 Version: 1.1
Release: 17 Release: 18
Source: https://downloads.sourceforge.net/project/aoo-extensions/1172/12/dict-kk.oxt Source: https://downloads.sourceforge.net/project/aoo-extensions/1172/12/dict-kk.oxt
URL: http://extensions.services.openoffice.org/project/dict-kk URL: http://extensions.services.openoffice.org/project/dict-kk
License: GPLv2+ or LGPLv2+ or MPLv1.1 License: GPLv2+ or LGPLv2+ or MPLv1.1
BuildArch: noarch BuildArch: noarch
BuildRequires: git
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-kk) Supplements: (hunspell and langpacks-kk)
@ -14,7 +13,7 @@ Supplements: (hunspell and langpacks-kk)
The package provide hunspell dictionaries for kazakh language. The package provide hunspell dictionaries for kazakh language.
%prep %prep
%autosetup -c -n hunspell-kk -p1 -S git %autosetup -c -n hunspell-kk -p1
%build %build
tr -d '\r' < README_kk_KZ.txt > README_kk_KZ.txt.new;touch -r README_kk_KZ.txt README_kk_KZ.txt.new 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/* %{_datadir}/myspell/*
%changelog %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 * Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 1.1-17
- 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