delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:06:25 +08:00
parent c0a12e2011
commit 01ffb5f788
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: lz4
Version: 1.9.3
Release: 2
Release: 3
Summary: Extremely fast compression algorithm
License: GPLv2+ and BSD
@ -13,7 +13,7 @@ Provides: %{name}-libs = %{version}-%{release}
Obsoletes: %{name} < 1.7.5-3
Obsoletes: %{name}-libs
BuildRequires: gcc git
BuildRequires: gcc
%description
LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per
@ -34,7 +34,7 @@ applications using liblz4 library.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
cp %{_builddir}/%{name}-%{version}/lib/LICENSE %{_builddir}/%{name}-%{version}/LICENSE-lib
%build
@ -69,6 +69,9 @@ export MOREFLAGS="-g"
%{_mandir}/man1/unlz4.1*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.9.3-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Sat Jun 19 2021 shixuantong <shixuantong@huawei.com> - 1.9.3-2
- fix CVE-2021-3520