Hello community,

here is the log from the commit of package gsl for openSUSE:Factory checked in 
at 2014-07-27 08:25:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gsl (Old)
 and      /work/SRC/openSUSE:Factory/.gsl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gsl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gsl/gsl.changes  2013-09-11 12:00:11.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gsl.new/gsl.changes     2014-07-27 
08:25:47.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Jul 19 14:23:59 UTC 2014 - [email protected]
+
+- Utilize shared library package naming guidelines
+  (split gsl -> gsl,libgsl0)
+- Set RPM groups
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gsl.spec ++++++
--- /var/tmp/diff_new_pack.dduBMJ/_old  2014-07-27 08:25:48.000000000 +0200
+++ /var/tmp/diff_new_pack.dduBMJ/_new  2014-07-27 08:25:48.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gsl
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,15 @@
 
 
 Name:           gsl
-#BuildRequires:  blas latex2html
-BuildRequires:  blas
-%if 0%{?suse_version}
-BuildRequires:  libtool
-%endif
-BuildRequires:  pkgconfig
-%if 0%{?fedora_version}
-Requires:       info
-%endif
+%define lname   libgsl0
 Version:        1.16
 Release:        0
 # NOTE: The package has been update to 1.10+ after all issues with
 # GNU GPLv3 have been resolved.
 Summary:        GNU Scientific Library
 License:        GPL-3.0+
-Group:          Development/Libraries/C and C++
+Group:          Productivity/Scientific/Math
+
 Source:         ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
 Patch:          gsl-1.6-initvars.diff
 Patch5:         gsl-wrap.diff
@@ -41,6 +34,15 @@
 Patch8:         gsl-fsf_address.patch
 Url:            http://www.gnu.org/software/gsl/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+#BuildRequires:  blas latex2html
+BuildRequires:  blas
+%if 0%{?suse_version}
+BuildRequires:  libtool
+%endif
+BuildRequires:  pkgconfig
+%if 0%{?fedora_version}
+Requires:       info
+%endif
 
 %description
 The GNU Scientific Library (GSL) is a collection of routines for
@@ -49,6 +51,18 @@
 (API) for C programmers, while allowing wrappers to be written for very
 high level languages.
 
+%package -n %lname
+Summary:        GNU Scientific Library
+License:        GPL-3.0+
+Group:          System/Libraries
+
+%description -n %lname
+The GNU Scientific Library (GSL) is a collection of routines for
+numerical computing. The routines are written from scratch by the GSL
+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.
+
 The library covers the following areas:
 
 Complex Numbers - Roots of Polynomials - Special Functions - 
@@ -65,8 +79,8 @@
 Summary:        GNU Scientific Library - development files
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
+Requires:       %lname = %{version}
 Requires:       glibc-devel
-Requires:       gsl = %{version}
 %if 0%{?suse_version}
 PreReq:         %{install_info_prereq}
 %endif
@@ -127,19 +141,21 @@
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 %{__rm} -f %{buildroot}%{_infodir}/dir
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%{_libdir}/libgsl*.so.*
 %{_bindir}/gsl-histogram
 %{_bindir}/gsl-randist
 %doc %{_mandir}/man1/gsl-histogram.1.gz
 %doc %{_mandir}/man1/gsl-randist.1.gz
 %doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
 
+%files -n %lname
+%defattr(-,root,root)
+%{_libdir}/libgsl*.so.0*
+
 %files devel
 %defattr(-,root,root)
 %{_includedir}/gsl

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to