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

This commit is contained in:
chenyanpanHW 2021-07-31 15:24:30 +08:00
parent a075b6fcab
commit ed4e213ab8
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,11 @@
Name: hunspell-km
Summary: Khmer hunspell dictionaries for hunspell used in OpenOffice
Version: 1.82
Release: 4
Release: 5
Source: https://downloads.sourceforge.net/project/aoo-extensions/2250/6/sbbic-khmer-spelling-checker-1.82.oxt
URL: http://www.sbbic.org/
License: GPLv3
BuildArch: noarch
BuildRequires: git
Requires: hunspell
Supplements: (hunspell and langpacks-km)
@ -14,7 +13,7 @@ Supplements: (hunspell and langpacks-km)
Khmer hunspell dictionaries for hunspell used in OpenOffice.
%prep
%autosetup -c -n hunspell-km -p1 -S git
%autosetup -c -n hunspell-km -p1
%build
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/*
%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
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires