!4 hunspell-km 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:12 +00:00 committed by Gitee
commit 2dde592aea

View File

@ -1,12 +1,11 @@
Name: hunspell-km Name: hunspell-km
Summary: Khmer hunspell dictionaries for hunspell used in OpenOffice Summary: Khmer hunspell dictionaries for hunspell used in OpenOffice
Version: 1.82 Version: 1.82
Release: 4 Release: 5
Source: https://downloads.sourceforge.net/project/aoo-extensions/2250/6/sbbic-khmer-spelling-checker-1.82.oxt Source: https://downloads.sourceforge.net/project/aoo-extensions/2250/6/sbbic-khmer-spelling-checker-1.82.oxt
URL: http://www.sbbic.org/ URL: http://www.sbbic.org/
License: GPLv3 License: GPLv3
BuildArch: noarch BuildArch: noarch
BuildRequires: git
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-km) Supplements: (hunspell and langpacks-km)
@ -14,7 +13,7 @@ Supplements: (hunspell and langpacks-km)
Khmer hunspell dictionaries for hunspell used in OpenOffice. Khmer hunspell dictionaries for hunspell used in OpenOffice.
%prep %prep
%autosetup -c -n hunspell-km -p1 -S git %autosetup -c -n hunspell-km -p1
%build %build
if ! iconv -f utf-8 -t utf-8 -o /dev/null CHANGELOG > /dev/null 2>&1; then if ! iconv -f utf-8 -t utf-8 -o /dev/null CHANGELOG > /dev/null 2>&1; then
@ -32,6 +31,9 @@ install -p km_KH.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.82-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 1.82-4 * Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 1.82-4
- 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