Hello community,

here is the log from the commit of package givaro for openSUSE:Factory checked 
in at 2016-03-26 15:23:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/givaro (Old)
 and      /work/SRC/openSUSE:Factory/.givaro.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "givaro"

Changes:
--------
--- /work/SRC/openSUSE:Factory/givaro/givaro.changes    2015-11-16 
18:51:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.givaro.new/givaro.changes       2016-03-26 
15:23:13.000000000 +0100
@@ -1,0 +2,9 @@
+Sat Mar 12 21:33:59 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 4.0.1
+* This release is compatible with fflas-ffpack-2.2.0 and
+  linbox-1.4.0.
+* Added a pkgconfig file for givaro
+- Add new-abi.diff
+
+-------------------------------------------------------------------

Old:
----
  givaro-4.0.0.tar.gz

New:
----
  new-abi.diff
  v4.0.1.tar.gz

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

Other differences:
------------------
++++++ givaro.spec ++++++
--- /var/tmp/diff_new_pack.4BFZjS/_old  2016-03-26 15:23:14.000000000 +0100
+++ /var/tmp/diff_new_pack.4BFZjS/_new  2016-03-26 15:23:14.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package givaro
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,10 +17,8 @@
 
 
 Name:           givaro
-%define lname   libgivaro8
-# givaro failed to update the SONAME in the past; continue verifying it
-# moves in the future as needed.
-Version:        4.0.0
+%define lname   libgivaro-4_0_1
+Version:        4.0.1
 Release:        0
 Summary:        C++ library for arithmetic and algebraic computations
 License:        CECILL-B
@@ -29,17 +27,17 @@
 
 #Git-Web:      https://github.com/linbox-team/givaro
 #Git-Clone:    git://github.com/linbox-team/givaro
-# For every version, the damn link changes. The basename is ignored, but what
-# matters to the FRS is the file ID after "download.php". For example, /370
-# will always pull givaro-3.7.2.tar.gz.
-Source:         https://forge.imag.fr/frs/download.php/672/givaro-4.0.0.tar.gz
+Source:         https://github.com/linbox-team/givaro/archive/v4.0.1.tar.gz
 Patch1:         givaro-doc-no-build-time.patch
+Patch2:         new-abi.diff
 # Old doxygen does not properly handle symlink recursion
 BuildRequires:  doxygen >= 1.5.7.1
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel >= 3.1.1
 BuildRequires:  graphviz
+BuildRequires:  libtool >= 2.2
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -109,11 +107,13 @@
 
 %prep
 %setup -q
-%patch1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
+autoreconf -fi
 %configure --disable-static --enable-doc --with-docdir="%_docdir/%name" \
        --enable-silent-rules
+chmod a+x givaro-config
 make %{?_smp_mflags}
 
 %install
@@ -127,7 +127,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libgivaro.so.8*
+%_libdir/libgivaro-4.0.1.so
 %doc COPYRIGHT COPYING
 
 %files devel
@@ -139,6 +139,7 @@
 %_includedir/gmp++/
 %_includedir/recint/
 %_libdir/libgivaro.so
+%_libdir/pkgconfig/givaro.pc
 
 %files doc
 %defattr(-,root,root)

++++++ new-abi.diff ++++++
From: Jan Engelhardt <jeng...@inai.de>
Date: 2016-03-12 22:24:06.376559254 +0100
References: https://github.com/linbox-team/givaro/issues/7

Since upstream did not get it right, use -release as per the
tips in the openSUSE wiki on how to tackle that problem.
---
 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: givaro-4.0.1/src/Makefile.am
===================================================================
--- givaro-4.0.1.orig/src/Makefile.am
+++ givaro-4.0.1/src/Makefile.am
@@ -20,6 +20,6 @@ libgivaro_la_LIBADD= \
        kernel/gmp++/libgmppp.la kernel/bstruct/libgivbstruct.la 
kernel/integer/libgivinteger.la kernel/memory/libgivmemory.la 
kernel/rational/libgivrational.la kernel/system/libgivsystem.la 
kernel/field/libgivfield.la library/tools/libgivtools.la 
library/poly1/libgivpoly1.la
 
 # soname of libgivaro
-libgivaro_la_LDFLAGS = -version-info 8:1:0
+libgivaro_la_LDFLAGS = -release ${PACKAGE_VERSION}
 libgivaro_la_LDFLAGS+= -no-undefined
 libgivaro_la_LDFLAGS+=$(LDFLAGS)

Reply via email to