Compare commits
No commits in common. "8caea409bb675cac4f2961eaec28e7627b83c078" and "ccf341752f95d1c260e21a40c0dd02adcd86949e" have entirely different histories.
8caea409bb
...
ccf341752f
@ -1,25 +0,0 @@
|
|||||||
From 82bc5c00cfe4d1e2f4386e0760dd9ad26cfa4831 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dirk Eddelbuettel <edd@debian.org>
|
|
||||||
Date: Mon, 28 Oct 2024 18:33:15 -0500
|
|
||||||
Subject: [PATCH] releasing package gsl version 2.8+dfsg-4
|
|
||||||
|
|
||||||
---
|
|
||||||
siman/siman.c | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/siman/siman.c b/siman/siman.c
|
|
||||||
index 65b9177..5e8d75d 100644
|
|
||||||
--- a/siman/siman.c
|
|
||||||
+++ b/siman/siman.c
|
|
||||||
@@ -197,6 +197,9 @@ gsl_siman_solve_many (const gsl_rng * r, void *x0_p, gsl_siman_Efunc_t Ef,
|
|
||||||
double u; /* throw the die to choose a new "x" */
|
|
||||||
int n_iter;
|
|
||||||
|
|
||||||
+ /* this function requires that n_tries be positive */
|
|
||||||
+ assert(params.n_tries > 0);
|
|
||||||
+
|
|
||||||
if (print_position) {
|
|
||||||
printf ("#-iter temperature position");
|
|
||||||
printf (" delta_pos energy\n");
|
|
||||||
--
|
|
||||||
2.33.0
|
|
||||||
BIN
gsl-2.4.tar.gz
Normal file
BIN
gsl-2.4.tar.gz
Normal file
Binary file not shown.
BIN
gsl-2.7.tar.gz
BIN
gsl-2.7.tar.gz
Binary file not shown.
28
gsl.spec
28
gsl.spec
@ -1,17 +1,14 @@
|
|||||||
Name: gsl
|
Name: gsl
|
||||||
Version: 2.7
|
Version: 2.4
|
||||||
Release: 3
|
Release: 9
|
||||||
Summary: The GNU Scientific Library for numerical analysis
|
Summary: The GNU Scientific Library for numerical analysis
|
||||||
URL: http://www.gnu.org/software/gsl/
|
URL: http://www.gnu.org/software/gsl/
|
||||||
License: GPLv3 and GFDL-1.3-or-later and BSD
|
License: GPLv3 and GFDL and BSD
|
||||||
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: gsl-test.patch
|
Patch0: gsl-test.patch
|
||||||
# backport patch from Debian
|
|
||||||
Patch1: backport-CVE-2024-50610.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc pkgconfig
|
BuildRequires: gcc pkgconfig
|
||||||
BuildRequires: chrpath
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU Scientific Library (GSL) is a collection of routines for
|
The GNU Scientific Library (GSL) is a collection of routines for
|
||||||
@ -39,7 +36,7 @@ mv THANKS.aux THANKS
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# disable FMA
|
# disable FMA
|
||||||
%ifarch aarch64 loongarch64
|
%ifarch aarch64
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
|
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
|
||||||
%endif
|
%endif
|
||||||
%configure
|
%configure
|
||||||
@ -54,9 +51,6 @@ make check || ( cat */test-suite.log && exit 1 )
|
|||||||
%install_info_rm
|
%install_info_rm
|
||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
|
|
||||||
chrpath -d %{buildroot}/%{_bindir}/gsl-randist
|
|
||||||
chrpath -d %{buildroot}/%{_bindir}/gsl-histogram
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -76,7 +70,7 @@ fi
|
|||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||||
%{_libdir}/libgsl.so.25*
|
%{_libdir}/libgsl.so.23*
|
||||||
%{_libdir}/libgslcblas.so.0*
|
%{_libdir}/libgslcblas.so.0*
|
||||||
%{_bindir}/gsl-histogram
|
%{_bindir}/gsl-histogram
|
||||||
%{_bindir}/gsl-randist
|
%{_bindir}/gsl-randist
|
||||||
@ -96,17 +90,5 @@ fi
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 1 2024 liningjie <liningjie@xfusion.com> - 2.7-3
|
|
||||||
- Fix CVE-2024-50610
|
|
||||||
|
|
||||||
* Tue Aug 20 2024 yaoxin <yao_xin001@hoperun.com> - 2.7-2
|
|
||||||
- Remove rpath
|
|
||||||
|
|
||||||
* Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 2.7-1
|
|
||||||
- Update to 2.7 version
|
|
||||||
|
|
||||||
* Wed Dec 07 2022 xu_ping <xuping33@h-partners.com> - 2.4-10
|
|
||||||
- Adaptation Loongarch
|
|
||||||
|
|
||||||
* Fri Feb 14 2020 fengbing <fengbing7@huawei.com> - 2.4-9
|
* Fri Feb 14 2020 fengbing <fengbing7@huawei.com> - 2.4-9
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user