From 2e844b84e0a18ccecb17305babecda5ac0a8fe16df0edd3e85708e7c6854bcb2 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 29 May 2024 12:47:35 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/science/gsl?expand=0&rev=47 --- ...193268b963aa1047814f7f1402084fb7d859.patch | 73 ------------------ gsl-2.7.1.tar.gz | 3 - gsl-2.7.1.tar.gz.sig | Bin 287 -> 0 bytes gsl-2.8.tar.gz | 3 + gsl-2.8.tar.gz.sig | Bin 0 -> 287 bytes gsl.changes | 29 +++++++ gsl.spec | 14 ++-- 7 files changed, 38 insertions(+), 84 deletions(-) delete mode 100644 989a193268b963aa1047814f7f1402084fb7d859.patch delete mode 100644 gsl-2.7.1.tar.gz delete mode 100644 gsl-2.7.1.tar.gz.sig create mode 100644 gsl-2.8.tar.gz create mode 100644 gsl-2.8.tar.gz.sig 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 6e625f03b6fb95829dba5e20fe2dd62815263ee7fb683b64768bb43993c6570d..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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)qdQ4>Er&DW=L$M#CNCh?&B(0?^RY@L1)kX!*dXiJ-gR4^gq_}%qt z)T-G_GXf}J`WyA^4solS^Yk!kwb-`^fRog#H@h lFP#1TIhml&9fL@?_AAUbIB0{ij2U59 + +- 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