!25 delete useless files
From: @eaglegai Reviewed-by: @licihua Signed-off-by: @licihua
This commit is contained in:
commit
b853216de8
13
nettle.spec
13
nettle.spec
@ -1,6 +1,6 @@
|
||||
Name: nettle
|
||||
Version: 3.6
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A low-level cryptographic library
|
||||
License: LGPLv3+ or GPLv2+
|
||||
URL: https://www.lysator.liu.se/~nisse/nettle/
|
||||
@ -18,7 +18,6 @@ Patch6006: backport-0007-CVE-2021-20305.patch
|
||||
Patch6007: backport-CVE-2021-3580.patch
|
||||
|
||||
BuildRequires: automake autoconf fipscheck gcc gettext-devel gmp-devel libtool m4
|
||||
BuildRequires: nettle
|
||||
|
||||
%description
|
||||
Nettle is a cryptographic library designed to fit any context:
|
||||
@ -50,8 +49,6 @@ autoreconf -ifv
|
||||
%make_install
|
||||
make install-shared
|
||||
install -D -p -m0644 nettle.info "$RPM_BUILD_ROOT%{_infodir}/nettle.info"
|
||||
cp -p %{_libdir}/libnettle.so.6.* $RPM_BUILD_ROOT%{_libdir}/
|
||||
cp -p %{_libdir}/libhogweed.so.4.* $RPM_BUILD_ROOT%{_libdir}/
|
||||
|
||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libnettle.so.8.*
|
||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libhogweed.so.6.*
|
||||
@ -64,8 +61,6 @@ make check
|
||||
%doc AUTHORS descore.README nettle.pdf
|
||||
%license COPYINGv2 COPYINGv3 COPYING.LESSERv3
|
||||
%{_infodir}/nettle.info.gz
|
||||
%{_libdir}/libnettle.so.6*
|
||||
%{_libdir}/libhogweed.so.4*
|
||||
%exclude %{_infodir}/dir
|
||||
%{_libdir}/libnettle.so.8*
|
||||
%{_libdir}/libhogweed.so.6*
|
||||
@ -87,6 +82,12 @@ make check
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Mon Sep 05 2022 gaihuiying <eaglegai@163.com> - 3.6-4
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:delete useless files
|
||||
|
||||
* Mon Aug 16 2021 gaihuiying <gaihuiying1@huawei.com> - 3.6-3
|
||||
- Type:CVE
|
||||
- CVE:CVE-2021-3580
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user