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

This commit is contained in:
chenyanpanHW 2021-07-30 22:50:29 +08:00
parent dfee09d136
commit a48b636660
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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