Hello community,

here is the log from the commit of package gsl for openSUSE:Factory checked in 
at 2015-03-01 14:57:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2014-07-27 08:25:47.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gsl.new/gsl.changes     2015-03-01 
14:57:40.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 25 20:04:58 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Add gpg keys
+- Update dependencies
+- Split documentation to separate package
+- Run only one job for checks
+
+-------------------------------------------------------------------

New:
----
  gsl-1.16.tar.gz.sig
  gsl.keyring

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

Other differences:
------------------
++++++ gsl.spec ++++++
--- /var/tmp/diff_new_pack.i63amh/_old  2015-03-01 14:57:42.000000000 +0100
+++ /var/tmp/diff_new_pack.i63amh/_new  2015-03-01 14:57:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gsl
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,33 +16,29 @@
 #
 
 
-Name:           gsl
 %define lname   libgsl0
+Name:           gsl
 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:          Productivity/Scientific/Math
-
-Source:         ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
-Patch:          gsl-1.6-initvars.diff
+Url:            http://www.gnu.org/software/gsl/
+Source0:        ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
+Source1:        ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz.sig
+Source2:        %{name}.keyring
+Patch0:         gsl-1.6-initvars.diff
 Patch5:         gsl-wrap.diff
 Patch6:         gsl-qawc-test-x86-precision.diff
 Patch7:         gsl-disable-fma.patch
 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:  autoconf
+BuildRequires:  automake
+BuildRequires:  blas-devel
 BuildRequires:  libtool
-%endif
-BuildRequires:  pkgconfig
-%if 0%{?fedora_version}
-Requires:       info
-%endif
+BuildRequires:  pkg-config
+Requires(pre):  %{install_info_prereq}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The GNU Scientific Library (GSL) is a collection of routines for
@@ -51,12 +47,12 @@
 (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
 
-%description -n %lname
+%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
@@ -79,11 +75,8 @@
 Summary:        GNU Scientific Library - development files
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %{version}
-Requires:       glibc-devel
-%if 0%{?suse_version}
-PreReq:         %{install_info_prereq}
-%endif
+Requires:       %{lname} = %{version}
+Requires(pre):  %{install_info_prereq}
 
 %description devel
 This package contains the headers, static libraries and some
@@ -107,9 +100,36 @@
 Discrete Hankel Transforms - Root-Finding - Minimization - 
 Least-Squares Fitting - Physical Constants - IEEE Floating-Point
 
+%package       doc
+Summary:        GNU Scientific Library - development files
+License:        GPL-2.0+
+Group:          Documentation
+Requires(pre):  %{install_info_prereq}
+
+%description   doc
+This package contains documentation for GSL
+
+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 -
+Vectors and Matrices - Permutations - Sorting - BLAS Support -
+Linear Algebra - Eigensystems - Fast Fourier Transforms - Quadrature -
+Random Numbers - Quasi-Random Sequences - Random Distributions -
+Statistics - Histograms - N-Tuples - Monte Carlo Integration -
+Simulated Annealing - Differential Equations - Interpolation -
+Numerical Differentiation - Chebyshev Approximation - Series Acceleration -
+Discrete Hankel Transforms - Root-Finding - Minimization -
+Least-Squares Fitting - Physical Constants - IEEE Floating-Point
+
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 %patch5 -p1
 %patch6 
 %patch7 -p1
@@ -117,32 +137,26 @@
 
 %build
 autoreconf -fi
-RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'`
-#export CFLAGS="%%{optflags} -fno-strict-aliasing"
+RPM_OPT_FLAGS=`echo "%{optflags}" | sed 's/-fstack-protector//'`
 export CFLAGS="%{optflags}"
-%configure --disable-static --with-pic --enable-shared --with-gnu-ld
+%configure \
+       --disable-static \
+       --with-pic \
+       --enable-shared \
+       --with-gnu-ld
 make %{?_smp_mflags}
-# latex2html (dvips) is braindead in its rejection of '.' in a dir name
-# the following fails right now, disable it:
-#cd ..
-#mv %%{name}-%%{version} %%{name}
-#cd %%{name}/doc
-#texi2html -l2h -menu -split_chapter -glossary gsl-ref.texi
-#cd ../..
-#mv %%{name} %{name}-%%{version}
 
 %check
-%if ! 0%{?qemu_user_space_build}
-make %{?_smp_mflags} check || true
-%endif
+make check --jobs 1
 
 %install
-%makeinstall
-%{__rm} -f %{buildroot}%{_libdir}/*.la
-%{__rm} -f %{buildroot}%{_infodir}/dir
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
+rm -f %{buildroot}%{_infodir}/dir
+
+%post   -n %{lname} -p /sbin/ldconfig
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -150,28 +164,33 @@
 %{_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
+%doc COPYING 
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
+%doc COPYING
 %{_libdir}/libgsl*.so.0*
 
 %files devel
 %defattr(-,root,root)
+%doc COPYING
 %{_includedir}/gsl
 %{_libdir}/libgsl*.so
 %{_libdir}/pkgconfig/gsl.pc
 %{_bindir}/gsl-config
-#%%doc doc/gsl-ref/gsl-ref*.html
 %{_datadir}/aclocal/gsl.m4
-%doc %{_infodir}/gsl-ref*
 %doc %{_mandir}/man1/gsl-config.1.gz
 %doc %{_mandir}/man3/gsl.3.gz
 
-%post devel
+%files doc
+%defattr(-,root,root)
+%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
+%doc %{_infodir}/gsl-ref*
+
+%post doc
 %install_info --info-dir=%{_infodir} %{_infodir}/gsl-ref.info.gz
 
-%postun devel
+%postun doc
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gsl-ref.info.gz
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to