!5 libconfig delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-08-19 08:22:17 +00:00 committed by Gitee
commit 436efde7e6

View File

@ -1,6 +1,6 @@
Name: libconfig
Version: 1.7.2
Release: 9
Release: 10
Summary: C/C++ Configuration File Library
License: LGPLv2+
URL: http://www.hyperrealm.com/libconfig/libconfig.html
@ -11,7 +11,7 @@ Source0: https://github.com/hyperrealm/libconfig/archive/v%{version}.tar.
Source1: libconfig.pdf
Patch9000: add-to-strbuf_append_string.patch
BuildRequires: git gcc gcc-c++ bison flex
BuildRequires: gcc gcc-c++ bison flex
BuildRequires: texinfo-tex tex(ecbx1095.tfm) tex(ecrm1095.tfm) tex(cm-super-t1.enc)
%description
@ -28,7 +28,7 @@ Obsoletes: libconfig-static
Files for %{name} development
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
cp %{SOURCE1} .
%build
@ -63,6 +63,9 @@ make check
%{_libdir}/*.la
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.7.2-10
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Sep 8 2020 linwei<linwei54@huawei.com> - 1.7.2-9
- Type:enhancement
- ID:NA