| |
@@ -1,10 +1,12 @@
|
| |
Summary: The GNU Scientific Library for numerical analysis
|
| |
Name: gsl
|
| |
Version: 2.7.1
|
| |
- Release: 8%{?dist}
|
| |
- URL: http://www.gnu.org/software/gsl/
|
| |
- License: GPLv3+
|
| |
- Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
| |
+ Release: 9%{?dist}
|
| |
+ URL: https://www.gnu.org/software/gsl/
|
| |
+ License: GPL-3.0-or-later
|
| |
+ Source0: https://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
| |
+ Source1: https://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz.sig
|
| |
+ Source2: https://www.gnu.org/software/gsl/key/gsl_key.txt
|
| |
Patch0: gsl-1.10-lib64.patch
|
| |
# http://lists.gnu.org/archive/html/bug-gsl/2015-12/msg00012.html
|
| |
Patch1: gsl-tol.patch
|
| |
@@ -12,6 +14,7 @@
|
| |
Patch3: gsl-configure-c99.patch
|
| |
|
| |
BuildRequires: gcc
|
| |
+ BuildRequires: gnupg2
|
| |
BuildRequires: pkgconfig
|
| |
BuildRequires: make
|
| |
|
| |
@@ -30,22 +33,19 @@
|
| |
developing programs using the GSL (GNU Scientific Library).
|
| |
|
| |
%prep
|
| |
+ %{gpgverify} --data=%{SOURCE0} --signature=%{SOURCE1} --keyring=%{SOURCE2}
|
| |
%setup -q
|
| |
- %patch0 -p1 -b .lib64
|
| |
- %patch1 -p1 -b .tol
|
| |
- %patch2 -p1 -b .test
|
| |
- %patch3 -p1
|
| |
-
|
| |
- iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux
|
| |
- touch -r THANKS THANKS.aux
|
| |
- mv THANKS.aux THANKS
|
| |
+ %patch -P0 -p1 -b .lib64
|
| |
+ %patch -P1 -p1 -b .tol
|
| |
+ %patch -P2 -p1 -b .test
|
| |
+ %patch -P3 -p1
|
| |
|
| |
%build
|
| |
# disable FMA
|
| |
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64 riscv64
|
| |
export CFLAGS="%{optflags} -ffp-contract=off"
|
| |
%endif
|
| |
- %configure
|
| |
+ %configure --disable-silent-rules --disable-static
|
| |
%make_build
|
| |
|
| |
%check
|
| |
@@ -56,10 +56,6 @@
|
| |
# remove unpackaged files from the buildroot
|
| |
rm -rf %{buildroot}%{_infodir}/dir
|
| |
rm -f %{buildroot}%{_libdir}/*.la
|
| |
- # remove static libraries
|
| |
- rm -r %{buildroot}%{_libdir}/*.a
|
| |
-
|
| |
- %ldconfig_scriptlets
|
| |
|
| |
%files
|
| |
%license COPYING
|
| |
@@ -83,6 +79,13 @@
|
| |
%{_includedir}/gsl/
|
| |
|
| |
%changelog
|
| |
+ * Mon Mar 25 2024 Jerry James <loganjerry@gmail.com> - 2.7.1-9
|
| |
+ - SPDX migration
|
| |
+ - Verify the source tarball
|
| |
+ - Avoid deprecated %%patchN macros
|
| |
+ - Stop converting THANKS to UTF-8; it already is
|
| |
+ - Minor spec file cleanups
|
| |
+
|
| |
* Mon Feb 26 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.7.1-8
|
| |
- Disable FMA on riscv64
|
| |
|
| |
This PR contains several unrelated changes in separate commits to make it easier to review them. If you object to any of these changes, we can eject the corresponding commit from the PR.
The changes are: