Merge #4 Minor spec file optimizations

This commit is contained in:
Jakub Martiško 2021-03-05 11:39:49 +00:00
commit 2cfe96ba2b

View File

@ -3,14 +3,14 @@
# This rpm has to be build on a CPU with sse2 support like Pentium 4 ! # This rpm has to be build on a CPU with sse2 support like Pentium 4 !
# #
Summary: A GNU arbitrary precision library Summary: GNU arbitrary precision library
Name: gmp Name: gmp
Version: 6.2.0 Version: 6.2.0
Release: 6%{?dist} Release: 6%{?dist}
Epoch: 1 Epoch: 1
URL: http://gmplib.org/ URL: https://gmplib.org/
Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}.tar.bz2 Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
# or ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz # or https://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz
Source2: gmp.h Source2: gmp.h
Source3: gmp-mparam.h Source3: gmp-mparam.h
Patch2: gmp-6.0.0-debuginfo.patch Patch2: gmp-6.0.0-debuginfo.patch
@ -153,7 +153,6 @@ export LD_LIBRARY_PATH=`pwd`/.libs
%ldconfig_scriptlets c++ %ldconfig_scriptlets c++
%files %files
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3 %license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3
%doc NEWS README %doc NEWS README
%{_libdir}/libgmp.so.* %{_libdir}/libgmp.so.*