!4 hyphen-bg 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:54 +00:00 committed by Gitee
commit 44085f354c

View File

@ -1,20 +1,19 @@
Name: hyphen-bg
Version: 4.3
Release: 16
Release: 17
Summary: rules for Bulgarian hyphenation
License: GPLv2+ or LGPLv2+ or MPLv1.1
URL: http://bgoffice.sourceforge.net/
Source: http://downloads.sourceforge.net/bgoffice/OOo-hyph-bg-%{version}.zip
Requires: hyphen
BuildArch: noarch
BuildRequires: git
Supplements: (hyphen and langpacks-bg)
%description
rules for Bulgarian hyphenation.
%prep
%autosetup -n OOo-hyph-bg-%{version} -p1 -S git
%autosetup -n OOo-hyph-bg-%{version} -p1
%build
for i in ChangeLog Copyright GPL-2.0.txt LGPL-2.1.txt MPL-1.1.txt README.bulgarian; do
@ -39,6 +38,9 @@ install -Dp *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_bg_BG.dic
%{_datadir}/hyphen/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.3-17
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 01 2021 wulei <wulei80@huawei.com> - 4.3-16
- fixes failed: git no such file or directory