From d7b7c6f1e9a2de3146d1ceb135bff59dabec0be2 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 25 Dec 2024 16:01:05 +0300 Subject: [PATCH] import gsl-2.7.1-11.el10 --- .gitignore | 2 +- .gsl.metadata | 2 +- SOURCES/gsl-2.7.1.tar.gz.sig | Bin 0 -> 287 bytes SOURCES/gsl-configure-c99.patch | 49 +++++++++++++++++ SOURCES/gsl_key.txt | 30 +++++++++++ SPECS/gsl.spec | 90 ++++++++++++++++++++++---------- 6 files changed, 144 insertions(+), 29 deletions(-) create mode 100644 SOURCES/gsl-2.7.1.tar.gz.sig create mode 100644 SOURCES/gsl-configure-c99.patch create mode 100644 SOURCES/gsl_key.txt diff --git a/.gitignore b/.gitignore index 3535b80..76eca06 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gsl-2.6.tar.gz +SOURCES/gsl-2.7.1.tar.gz diff --git a/.gsl.metadata b/.gsl.metadata index c7652c9..ac33d37 100644 --- a/.gsl.metadata +++ b/.gsl.metadata @@ -1 +1 @@ -9273164b6bdf60d0577518a1c1310eff6659e3dd SOURCES/gsl-2.6.tar.gz +549e1105cd1198537be9707257161531e109bd94 SOURCES/gsl-2.7.1.tar.gz diff --git a/SOURCES/gsl-2.7.1.tar.gz.sig b/SOURCES/gsl-2.7.1.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..fcd4e4e1758f24198e52fd13305000efa29cb376 GIT binary patch literal 287 zcmV+)0pR|L0UQJX0RjL91p;BG2^9be2@oV-w@a=Cv*|T82mrWG1>P0k64ireH~zF{ zbS%n?s18TVvgBs5Y?ievP~QBK#7(Zkmej(S0VRQ!=5gmX0b1T~6!bhJ`#(bw8xQZ$ zicpdNmYe#~!f~gotG!Wt0G#(H^TMCK8yZSfB>{UB355RS;LD`rH{9YyZG*Gi+je-# z`KZILNa`jxF6>EQ1n{u>fyY(TioU>zLGdZqxBOuxqFfUPr6XQEy%zf>@J5Y(4pS6F z+V@6N4TX=y1<(o68T_jJNP_5L1mDhiptF7bTBc$YR@|#Qvt9SV|6DsA)1@{MdPgnb lfXu6F + +diff --git a/configure b/configure +index b593652a6693e702..dac25375fd493823 100755 +--- a/configure ++++ b/configure +@@ -14407,7 +14407,7 @@ int main (void) + inf = exp(1.0e10); + nan = inf / inf ; + status = (nan == nan); +- exit (status); ++ return status; + } + _ACEOF + if ac_fn_c_try_run "$LINENO" +@@ -14452,7 +14452,7 @@ int main (void) + for (i = 0; i < 5; i++) { z = z / 10.0 ; }; + for (i = 0; i < 5; i++) { z = z * 10.0 ; }; + status = (z == 0.0); +- exit (status); ++ return status; + } + _ACEOF + if ac_fn_c_try_run "$LINENO" +diff --git a/configure.ac b/configure.ac +index a2e038f5656e983a..40e7d2a3db3e4d41 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -449,7 +449,7 @@ int main (void) + inf = exp(1.0e10); + nan = inf / inf ; + status = (nan == nan); +- exit (status); ++ return status; + }]])],[ac_cv_c_ieee_comparisons="yes"],[ac_cv_c_ieee_comparisons="no"],[ac_cv_c_ieee_comparisons="yes"]) + ]) + +@@ -469,7 +469,7 @@ int main (void) + for (i = 0; i < 5; i++) { z = z / 10.0 ; }; + for (i = 0; i < 5; i++) { z = z * 10.0 ; }; + status = (z == 0.0); +- exit (status); ++ return status; + }]])],[ac_cv_c_ieee_denormals="yes"],[ac_cv_c_ieee_denormals="no"],[ac_cv_c_ieee_denormals="yes"]) + ]) + diff --git a/SOURCES/gsl_key.txt b/SOURCES/gsl_key.txt new file mode 100644 index 0000000..bed86fa --- /dev/null +++ b/SOURCES/gsl_key.txt @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBFGmV38BCADRYBJRUS5FRv7LSlSY296SULeUmcNPp9enRBhN/0obENtGVJcP +rspSylN4aQnCh7io3ESWDuKaz/1frqcpLdcPAqtN7qI+u522+DiBHAWnr0AdVLXP +xllmHCqdzpgWwad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8AEQEAAYkBHwQYAQIACQUCUaZXfwIb +DAAKCRAkX7dLrgWz6Ym2CACdH5EiDBPkDDjYa62r5gZ4Vel46jBSUcyni8Hq8wde +YmN0FXKDBrq5G53aQp7bOyGHyU3u4Whsc0TnIbnXvhKTklxVOfuUKZQw+SnGQkMK +apM30i5grtUKn5GJYFzX2GVhmCtIG7adtkvHiGXccWc9p6MFK4TRuRZ6Ut73i4l4 +CpZ0eHbJMNtbHTI+9VNzgvYcUWqzDPFNOyQ1275g+cMYTCaLE2W/MHLNzUjZe5hf +3DFQjqea4ANCLyOh5IZNg5/v0KokCzz3Sruv4DQXxxWSF/jobifvFutjKqYDB4/c +8hqk0PFuiiZFESCwD7Okg9ydxG1DFhK7zyk2JRGHbmNG +=sAxL +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/gsl.spec b/SPECS/gsl.spec index 46df103..1482881 100644 --- a/SPECS/gsl.spec +++ b/SPECS/gsl.spec @@ -1,16 +1,22 @@ Summary: The GNU Scientific Library for numerical analysis Name: gsl -Version: 2.6 -Release: 7%{?dist} -URL: http://www.gnu.org/software/gsl/ -License: GPLv3+ -Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz +Version: 2.7.1 +Release: 11%{?dist} +URL: https://www.gnu.org/software/gsl/ +VCS: git://git.savannah.gnu.org/gsl.git +# Automatically converted from old format: GPLv3+ - review is highly recommended. +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 Patch2: gsl-test.patch +Patch3: gsl-configure-c99.patch BuildRequires: gcc +BuildRequires: gnupg2 BuildRequires: pkgconfig BuildRequires: make @@ -30,20 +36,18 @@ developing programs using the GSL (GNU Scientific Library). %prep %setup -q -%patch0 -p1 -b .lib64 -%patch1 -p1 -b .tol -%patch2 -p1 -b .test - -iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux -touch -r THANKS THANKS.aux -mv THANKS.aux THANKS +%{gpgverify} --data=%{SOURCE0} --signature=%{SOURCE1} --keyring=%{SOURCE2} +%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 +%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 @@ -54,17 +58,13 @@ make check || ( cat */test-suite.log && exit 1 ) # 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 %doc AUTHORS ChangeLog NEWS README THANKS TODO %{_bindir}/gsl-histogram %{_bindir}/gsl-randist -%{_libdir}/libgsl.so.25* +%{_libdir}/libgsl.so.27* %{_libdir}/libgslcblas.so.0* %{_mandir}/man1/gsl-histogram.1* %{_mandir}/man1/gsl-randist.1* @@ -81,16 +81,52 @@ rm -r %{buildroot}%{_libdir}/*.a %{_includedir}/gsl/ %changelog -* Thu Feb 3 2022 Pavel Cahyna - 2.6-7 -- Rebuilt with no changes to get the -devel package to CRB. - Resolves: rhbz#2035401 +* Wed Dec 25 2024 Arkady L. Shane - 2.7.1-11 +- Rebuilt for MSVSphere 10 + +* Thu Aug 8 2024 Jerry James - 2.7.1-11 +- Verify the source tarball +- Stop converting THANKS to UTF-8; it already is +- Minor spec file cleanups + +* Thu Jul 25 2024 Miroslav Suchý - 2.7.1-10 +- convert license to SPDX + +* Thu Jul 18 2024 Fedora Release Engineering - 2.7.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Feb 26 2024 David Abdurachmanov - 2.7.1-8 +- Disable FMA on riscv64 + +* Wed Jan 24 2024 Fedora Release Engineering - 2.7.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 Fedora Release Engineering - 2.7.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 2.7.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jan 18 2023 Florian Weimer - 2.7.1-3 +- Port configure script to C99 + +* Tue Aug 23 2022 Mamoru TASAKA - 2.7.1-2 +- Rebuild again for bodhi issue + +* Thu Aug 11 2022 Susi Lehtola - 2.7.1-1 +- Update to 2.7.1. + +* Thu Jul 21 2022 Fedora Release Engineering - 2.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -* Mon Aug 09 2021 Mohan Boddu - 2.6-6 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Thu Jan 20 2022 Fedora Release Engineering - 2.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild -* Fri Apr 16 2021 Mohan Boddu - 2.6-5 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Thu Jul 22 2021 Fedora Release Engineering - 2.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild