!3 hunspell-haw 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:48 +00:00 committed by Gitee
commit 655b77eebd

View File

@ -1,11 +1,10 @@
Name: hunspell-haw Name: hunspell-haw
Version: 0.03 Version: 0.03
Release: 4 Release: 5
Summary: Hawaiian hunspell dictionaries for hunspell used in OpenOffice Summary: Hawaiian hunspell dictionaries for hunspell used in OpenOffice
License: GPLv2+ License: GPLv2+
URL: https://www.spellcheck.net/hawaiian URL: https://www.spellcheck.net/hawaiian
Source: https://addons.mozilla.org/firefox/downloads/file/248540/hawaiian_spell_checker-%{version}-tb+fx+fn+sm.xpi Source: https://addons.mozilla.org/firefox/downloads/file/248540/hawaiian_spell_checker-%{version}-tb+fx+fn+sm.xpi
BuildRequires: git
Requires: hunspell Requires: hunspell
BuildArch: noarch BuildArch: noarch
Supplements: (hunspell and langpacks-haw) Supplements: (hunspell and langpacks-haw)
@ -13,7 +12,7 @@ Supplements: (hunspell and langpacks-haw)
Hawaiian hunspell dictionaries for hunspell used in OpenOffice. Hawaiian hunspell dictionaries for hunspell used in OpenOffice.
%prep %prep
%autosetup -c -n hunspell-haw-%{version} -p1 -S git %autosetup -c -n hunspell-haw-%{version} -p1
%build %build
@ -26,6 +25,9 @@ install -Dp dictionaries/haw-US.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/haw.dic
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.03-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.03-4 * Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.03-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