Accepting request 617306 from home:AndreasStieger:branches:science

gsl 2.5

OBS-URL: https://build.opensuse.org/request/show/617306
OBS-URL: https://build.opensuse.org/package/show/science/gsl?expand=0&rev=14
This commit is contained in:
Adam Majer 2018-06-18 07:46:58 +00:00 committed by Git OBS Bridge
parent a650d4cb16
commit c17238ccb8
8 changed files with 63 additions and 64 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d46d07b946e7b31c19bbf33dda6204d7bedc2f5462a1bae1d4013426cd1ce9b
size 5916715

Binary file not shown.

3
gsl-2.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d
size 7303881

BIN
gsl-2.5.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Fri Jun 15 07:58:16 UTC 2018 - astieger@suse.com
- gsl 2.5:
* doc bug fix in binomial distribution figure
* added Wishart distribution
* added new module for digital filtering (gsl_filter); current
filters include:
Gaussian filter
median filter
recursive median filter
impulse detection filter
* added new module for moving window statistics (gsl_movstat)
* added statistics functions:
gsl_stats_median()
gsl_stats_select()
gsl_stats_mad()
gsl_stats_mad0()
gsl_stats_Sn_from_sorted_data()
gsl_stats_Qn_from_sorted_data()
gsl_stats_gastwirth_from_sorted_data()
gsl_stats_trmean_from_sorted_data()
* added Romberg integration (gsl_integration_romberg)
* bug fix in deprecated functions gsl_multifit_wlinear_svd and
gsl_multifit_wlinear_usvd (reported by Vlad Koli)
* documention corrected to state that gsl_sf_legendre functions
do not include Condon-Shortley phase by default
* bug fix in exponential fitting example when using larger number
of points
* changed internal workspace inside gsl_spmatrix to a union to
avoid casting
* bug fixes in ode-initval2 for very rare solver crashing cases
* add histogram2d figure to manual
* bug fix in gsl_spmatrix_add for duplicate input arguments
* add support for negative arguments nu in gsl_sf_bessel_Jnu and
gsl_sf_bessel_Ynu (Konrad Griessinger)
* better texinfo documentation for gsl_sf_hyperg functions
* fix vector and matrix fread/fwrite testing on windows systems
when tmpfile() fails
- drop rstat_test.patch, is upstream
-------------------------------------------------------------------
Mon May 14 13:07:21 UTC 2018 - adam.majer@suse.de

View File

@ -29,10 +29,6 @@ CpZ0eHbJMNtbHTI+9VNzgvYcUWqzDPFNOyQ1275g+cMYTCaLE2W/MHLNzUjZe5hf
=sAxL
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.5 (GNU/Linux)
@ -59,6 +55,3 @@ ZBQXBtDtgFH6n+l74kOM4ACfUMcaVrcfOTdK1DIoFwIUywzjegg=
=j2pb
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -19,17 +19,16 @@
%define lname libgsl23
%define lcblasname libgslcblas0
Name: gsl
Version: 2.4
Version: 2.5
Release: 0
Summary: GNU Scientific Library
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
Url: https://www.gnu.org/software/gsl/
URL: https://www.gnu.org/software/gsl/
Source0: https://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
Source1: https://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gsl&download=1#/%{name}.keyring
Patch0: gsl-1.6-initvars.diff
Patch1: rstat_test.patch
Patch5: gsl-wrap.diff
Patch6: gsl-qawc-test-x86-precision.diff
Patch7: gsl-disable-fma.patch
@ -39,7 +38,6 @@ BuildRequires: automake
BuildRequires: blas-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The GNU Scientific Library (GSL) is a collection of routines for
@ -50,7 +48,7 @@ high level languages.
%package -n %{lname}
Summary: GNU Scientific Library
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Libraries
%description -n %{lname}
@ -75,7 +73,7 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
%package -n %{lcblasname}
Summary: A standard C language APIs for BLAS from GNU Scientific Library
# file conflict, see boo#991155
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Libraries
Obsoletes: libgsl0
@ -85,9 +83,10 @@ GNU Scientific Library.
%package devel
Summary: GNU Scientific Library - development files
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}, %{lcblasname} = %{version}
Requires: %{lcblasname} = %{version}
Requires: %{lname} = %{version}
Requires(pre): %{install_info_prereq}
%description devel
@ -114,10 +113,10 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
%package doc
Summary: GNU Scientific Library - development files
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Documentation/Other
Requires(preun): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%description doc
This package contains documentation for GSL
@ -143,7 +142,6 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch5 -p1
%patch6
%patch7 -p1
@ -177,35 +175,31 @@ rm -f %{buildroot}%{_infodir}/dir
%postun -n %{lcblasname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gsl-histogram
%{_bindir}/gsl-randist
%{_mandir}/man1/gsl-histogram.1%{ext_man}
%{_mandir}/man1/gsl-randist.1%{ext_man}
%doc COPYING
%{_mandir}/man1/gsl-histogram.1%{?ext_man}
%{_mandir}/man1/gsl-randist.1%{?ext_man}
%license COPYING
%files -n %{lname}
%defattr(-,root,root)
%{_libdir}/libgsl.so.*
%files -n %{lcblasname}
%defattr(-,root,root)
%{_libdir}/libgslcblas.so.*
%files devel
%defattr(-,root,root)
%doc COPYING
%license COPYING
%{_includedir}/gsl
%{_libdir}/libgsl*.so
%{_libdir}/pkgconfig/gsl.pc
%{_bindir}/gsl-config
%{_datadir}/aclocal/gsl.m4
%{_mandir}/man1/gsl-config.1%{ext_man}
%{_mandir}/man3/gsl.3%{ext_man}
%{_mandir}/man1/gsl-config.1%{?ext_man}
%{_mandir}/man3/gsl.3%{?ext_man}
%files doc
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%{_infodir}/gsl-ref*
%post doc

View File

@ -1,29 +0,0 @@
Author: Patrick Alken
Date: Tue Jun 20 10:27:06 CEST 2017
Index: gsl-2.4/rstat/test.c
===================================================================
--- gsl-2.4.orig/rstat/test.c
+++ gsl-2.4/rstat/test.c
@@ -127,7 +127,7 @@ main()
{
const size_t N = 2000000;
double *data = random_data(N, r);
- double data2[] = { 4.0, 7.0, 13.0, 16.0 };
+ double data2[] = { 4.0, 7.0, 13.0, 16.0, -5.0 };
size_t i;
test_basic(2, data, tol1);
@@ -139,10 +139,10 @@ main()
test_basic(1500000, data, tol1);
test_basic(2000000, data, tol1);
- for (i = 0; i < 4; ++i)
+ for (i = 0; i < 5; ++i)
data2[i] += 1.0e9;
- test_basic(4, data2, tol1);
+ test_basic(5, data2, tol1);
free(data);
}