delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:58:13 +08:00
parent e73c2e823d
commit cbd2ef860d
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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