From 72f8ec8c7c7b49c023bca8849ef5c7dc72ba5c7beb72215b1cd0def140340602 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 29 Jul 2016 22:26:05 +0000 Subject: [PATCH] Accepting request 415820 from devel:libraries:c_c++ 1 OBS-URL: https://build.opensuse.org/request/show/415820 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=35 --- gsl.changes | 10 ++++++++++ gsl.spec | 29 ++++++++++++++++++++++++----- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/gsl.changes b/gsl.changes index 5202470..ff15de7 100644 --- a/gsl.changes +++ b/gsl.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jul 29 11:08:14 UTC 2016 - adam.majer@suse.de + +- Add missing Requires in -devel following package split + +------------------------------------------------------------------- +Fri Jul 29 07:48:04 UTC 2016 - dmitry_r@opensuse.org + +- Move gslcblas library to separate package [boo#991155] + ------------------------------------------------------------------- Sat Jun 18 20:39:30 UTC 2016 - dmitry_r@opensuse.org diff --git a/gsl.spec b/gsl.spec index c3dce42..543ede1 100644 --- a/gsl.spec +++ b/gsl.spec @@ -17,6 +17,7 @@ %define lname libgsl19 +%define lcblasname libgslcblas0 Name: gsl Version: 2.1 Release: 0 @@ -51,7 +52,7 @@ team in ANSI C and present a modern Applications Programming Interface (API) for C programmers, while allowing wrappers to be written for very high level languages. -%package -n %{lname} +%package -n %{lname} Summary: GNU Scientific Library License: GPL-3.0+ Group: System/Libraries @@ -75,11 +76,22 @@ Numerical Differentiation - Chebyshev Approximation - Series Acceleration - Discrete Hankel Transforms - Root-Finding - Minimization - Least-Squares Fitting - Physical Constants - IEEE Floating-Point +%package -n %{lcblasname} +Summary: A standard C language APIs for BLAS from GNU Scientific Library +License: GPL-3.0+ +Group: System/Libraries +# file conflict, see boo#991155 +Obsoletes: libgsl0 + +%description -n %{lcblasname} +This library provides a native C interface to BLAS routines. This is part of +GNU Scientific Library. + %package devel Summary: GNU Scientific Library - development files License: GPL-2.0+ Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version} +Requires: %{lname} = %{version}, %{lcblasname} = %{version} Requires(pre): %{install_info_prereq} %description devel @@ -168,18 +180,25 @@ rm -f %{buildroot}%{_infodir}/dir %postun -n %{lname} -p /sbin/ldconfig +%post -n %{lcblasname} -p /sbin/ldconfig + +%postun -n %{lcblasname} -p /sbin/ldconfig + %files %defattr(-,root,root) %{_bindir}/gsl-histogram %{_bindir}/gsl-randist %doc %{_mandir}/man1/gsl-histogram.1.gz %doc %{_mandir}/man1/gsl-randist.1.gz -%doc COPYING +%doc COPYING %files -n %{lname} %defattr(-,root,root) -%doc COPYING -%{_libdir}/libgsl*.so.* +%{_libdir}/libgsl.so.* + +%files -n %{lcblasname} +%defattr(-,root,root) +%{_libdir}/libgslcblas.so.* %files devel %defattr(-,root,root)