diff --git a/989a193268b963aa1047814f7f1402084fb7d859.patch b/989a193268b963aa1047814f7f1402084fb7d859.patch deleted file mode 100644 index 0d7af71..0000000 --- a/989a193268b963aa1047814f7f1402084fb7d859.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 989a193268b963aa1047814f7f1402084fb7d859 Mon Sep 17 00:00:00 2001 -From: Patrick Alken -Date: Sat, 16 Apr 2022 11:56:10 -0600 -Subject: fix for bug #59624 - ---- - NEWS | 2 ++ - statistics/quantiles.c | 1 + - statistics/quantiles_source.c | 35 +++++++++++++++++++++-------------- - 3 files changed, 24 insertions(+), 14 deletions(-) - -diff --git a/statistics/quantiles.c b/statistics/quantiles.c -index 96a3a25..50898d9 100644 ---- a/statistics/quantiles.c -+++ b/statistics/quantiles.c -@@ -1,5 +1,6 @@ - #include - #include -+#include - - #define BASE_LONG_DOUBLE - #include "templates_on.h" -diff --git a/statistics/quantiles_source.c b/statistics/quantiles_source.c -index e2956d9..b2feba4 100644 ---- a/statistics/quantiles_source.c -+++ b/statistics/quantiles_source.c -@@ -24,22 +24,29 @@ FUNCTION(gsl_stats,quantile_from_sorted_data) (const BASE sorted_data[], - const size_t n, - const double f) - { -- const double index = f * (n - 1) ; -- const size_t lhs = (int)index ; -- const double delta = index - lhs ; -- double result; -- -- if (n == 0) -- return 0.0 ; -- -- if (lhs == n - 1) -+ if ((f < 0.0) || (f > 1.0)) - { -- result = sorted_data[lhs * stride] ; -+ GSL_ERROR_VAL ("invalid quantile fraction", GSL_EDOM, 0.0); - } -- else -+ else - { -- result = (1 - delta) * sorted_data[lhs * stride] + delta * sorted_data[(lhs + 1) * stride] ; -- } -+ const double index = f * (n - 1) ; -+ const size_t lhs = (int)index ; -+ const double delta = index - lhs ; -+ double result; - -- return result ; -+ if (n == 0) -+ return 0.0 ; -+ -+ if (lhs == n - 1) -+ { -+ result = sorted_data[lhs * stride] ; -+ } -+ else -+ { -+ result = (1 - delta) * sorted_data[lhs * stride] + delta * sorted_data[(lhs + 1) * stride] ; -+ } -+ -+ return result ; -+ } - } --- -cgit v1.1 - diff --git a/gsl-2.7.1.tar.gz b/gsl-2.7.1.tar.gz deleted file mode 100644 index 5082386..0000000 --- a/gsl-2.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b -size 7509209 diff --git a/gsl-2.7.1.tar.gz.sig b/gsl-2.7.1.tar.gz.sig deleted file mode 100644 index 6e625f0..0000000 Binary files a/gsl-2.7.1.tar.gz.sig and /dev/null differ diff --git a/gsl-2.8.tar.gz b/gsl-2.8.tar.gz new file mode 100644 index 0000000..96d108c --- /dev/null +++ b/gsl-2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a99eeed15632c6354895b1dd542ed5a855c0f15d9ad1326c6fe2b2c9e423190 +size 8997136 diff --git a/gsl-2.8.tar.gz.sig b/gsl-2.8.tar.gz.sig new file mode 100644 index 0000000..d6d962f Binary files /dev/null and b/gsl-2.8.tar.gz.sig differ diff --git a/gsl.changes b/gsl.changes index 1c398eb..1743325 100644 --- a/gsl.changes +++ b/gsl.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed May 29 12:44:56 UTC 2024 - Adam Majer + +- update to gsl 2.8: + * updated multilarge TSQR method to store ||z_2|| and + provide it to the user + * add routines for Hermite B-spline interpolation + * add functions: + - gsl_matrix_complex_conjugate + - gsl_vector_complex_conj_memcpy + - gsl_vector_complex_div_real + - gsl_linalg_QR_lssolvem_r + - gsl_linalg_complex_QR_lssolvem_r + - gsl_linalg_complex_QR_QHmat_r + - gsl_linalg_QR_UR_lssolve + - gsl_linalg_QR_UR_lssvx + - gsl_linalg_QR_UR_QTvec + - gsl_linalg_QR_UU_lssvx + - gsl_linalg_QR_UD_lssvx + - gsl_linalg_QR_UD_QTvec + - gsl_linalg_complex_cholesky_{decomp2,svx2,solve2,scale,scale_apply} + - gsl_linalg_SV_{solve2,lssolve} + - gsl_rstat_norm + * add Lebedev quadrature (gsl_integration_lebedev) + * major overhaul to the B-spline module to add + new functionality + +- 989a193268b963aa1047814f7f1402084fb7d859.patch: removed, upstreamed + ------------------------------------------------------------------- Tue Feb 27 11:13:36 UTC 2024 - Dominique Leuenberger diff --git a/gsl.spec b/gsl.spec index 447e986..706a557 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package gsl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,8 +19,8 @@ %global flavor @BUILD_FLAVOR@%{nil} %define pname gsl -%define vers 2.7.1 -%define _vers 2_7_1 +%define vers 2.8 +%define _vers 2_8_0 %define lgsl_so_v 27 %define lgslcblas_so_v 0 @@ -122,7 +122,6 @@ Source1: https://ftp.gnu.org/pub/gnu/%{pname}/%{pname}-%{version}.tar.gz. Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gsl&download=1#/%{pname}.keyring Patch6: gsl-qawc-test-x86-precision.diff Patch7: gsl-disable-fma.patch -Patch8: 989a193268b963aa1047814f7f1402084fb7d859.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -131,7 +130,7 @@ BuildRequires: pkgconfig %if %{without hpc} BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(preun): update-alternatives %else BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: lua-lmod @@ -219,7 +218,7 @@ high level languages. Summary: Documentation for the GNU Scientific Library Group: Documentation/Other Requires(post): %{install_info_prereq} -Requires(preun):%{install_info_prereq} +Requires(preun): %{install_info_prereq} BuildArch: noarch %description doc @@ -260,7 +259,6 @@ library packages. %setup -q -n %{pname}-%{version} %patch -P 6 %patch -P 7 -p1 -%patch -P 8 -p1 %build