delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:02:42 +08:00
parent 840d0f78a5
commit 2d73c56979
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: libtar
Version: 1.2.20
Release: 19
Release: 20
Summary: Library for manipulating tar files from within C programs.
License: BSD
URL: http://repo.or.cz/libtar.git
@ -12,7 +12,7 @@ Patch2: libtar-1.2.20-fix-resource-leaks.patch
Patch3: libtar-1.2.11-bz729009.patch
Patch4: libtar-1.2.20-no-static-buffer.patch
Patch5: CVE-2013-4420.patch
BuildRequires: libtool git
BuildRequires: libtool
%description
Libtar is a C library for manipulating POSIX tar files. It handles adding
@ -32,7 +32,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-v%{version} -p1 -Sgit
%autosetup -n %{name}-v%{version} -p1
# set correct version for .so build
%global ltversion %(echo %{version} | tr '.' ':')
@ -69,6 +69,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{_mandir}/man3/*.3*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.20-20
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Jul 27 2021 yuanxin <yuanxin24@huawei.com> - 1.2.20-19
- remove BuildRequires gdb