Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package flint for openSUSE:Factory checked 
in at 2023-10-23 23:40:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flint (Old)
 and      /work/SRC/openSUSE:Factory/.flint.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flint"

Mon Oct 23 23:40:25 2023 rev:16 rq:1119391 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/flint/flint.changes      2023-04-07 
23:29:26.366483715 +0200
+++ /work/SRC/openSUSE:Factory/.flint.new.1945/flint.changes    2023-10-23 
23:40:39.922876638 +0200
@@ -1,0 +2,10 @@
+Sat Oct 21 00:32:33 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 3.0.0
+  * The following libraries have been merged into FLINT and are no
+    longer maintianed as separate libs: arb-2.23, calcium-0.4,
+    antic-0.2.5. The API is largely backwards-compatible but there
+    are some changes to rarely-used and internal functions,
+    documented in history.rst.
+
+-------------------------------------------------------------------

Old:
----
  v2.9.0.tar.gz

New:
----
  v3.0.0.tar.gz

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

Other differences:
------------------
++++++ flint.spec ++++++
--- /var/tmp/diff_new_pack.nPRfIP/_old  2023-10-23 23:40:40.770907423 +0200
+++ /var/tmp/diff_new_pack.nPRfIP/_new  2023-10-23 23:40:40.770907423 +0200
@@ -17,16 +17,16 @@
 
 
 Name:           flint
-%define lname  libflint17
-Version:        2.9.0
+%define lname  libflint18
+Version:        3.0.0
 Release:        0
 Summary:        C library for doing number theory
 License:        LGPL-2.1-or-later
 Group:          Productivity/Scientific/Math
-URL:            http://flintlib.org/
+URL:            https://flintlib.org/
 
-#Git-Clone:     https://github.com/flintlib/flint2
-Source:         https://github.com/flintlib/flint2/archive/v%version.tar.gz
+#Git-Clone:     https://github.com/flintlib/flint
+Source:         https://github.com/flintlib/flint/archive/v%version.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -60,6 +60,9 @@
 Requires:       gmp-devel
 Requires:       mpfr-devel
 Requires:       ntl-devel
+Conflicts:      antic-devel
+Conflicts:      arb-devel
+Conflicts:      calcium-devel
 
 %description devel
 FLINT (Fast Library for Number Theory) is a C library in support of
@@ -71,16 +74,36 @@
 developing against the FLINT library.
 
 %prep
-%autosetup -p1 -n flint2-%version
+%autosetup -p1
 
 %build
-./configure --prefix="%_prefix" --disable-static --reentrant --with-ntl \
-       CFLAGS="%optflags" CXXFLAGS="%optflags"
+if test ! -e configure; then
+       ./bootstrap.sh
+fi
+%configure \
+%if 0%{?suse_version} < 1590
+       --enable-gmp-internals=no \
+%endif
+       --disable-static --enable-reentrant --with-ntl
 %make_build
 
 %install
-%make_install LIBDIR="%_lib"
-rm -f "%buildroot/%_libdir"/*.la
+%make_install
+b="%buildroot"
+rm -f "$b/%_libdir"/*.la
+ln -s libflint.so "$b/%_libdir/libarb.so"
+ln -s libflint.so "$b/%_libdir/libantic.so"
+ln -s libflint.so "$b/%_libdir/libcalcium.so"
+# a little bit of compat (hence Conflicts, not Obsoletes used in subpackage)
+mkdir -p "$b/%_includedir/antic" "$b/%_includedir/calcium"
+for i in nf.h nf_elem.h qfb.h; do
+       ln -s "../flint/$i" "$b/%_includedir/antic/"
+done
+for i in ca.h ca_ext.h ca_field.h ca_mat.h ca_poly.h ca_vec.h calcium.h \
+    fexpr.h fexpr_builtin.h fmpz_mpoly_q.h qqbar.h; do
+       ln -s "../flint/$i" "$b/%_includedir/calcium/"
+done
+ln -s ../flint/fmpz_mpoly.h "$b/%_includedir/calcium/utils_flint.h"
 %fdupes %buildroot/%_prefix
 
 %post   -n %lname -p /sbin/ldconfig
@@ -91,7 +114,8 @@
 %license LICENSE
 
 %files devel
-%_includedir/flint/
-%_libdir/libflint.so
-%doc NEWS
+%_includedir/*
+%_libdir/*.so
+%_libdir/pkgconfig/*.pc
+%doc doc/source/history.rst
 

++++++ v2.9.0.tar.gz -> v3.0.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/flint/v2.9.0.tar.gz 
/work/SRC/openSUSE:Factory/.flint.new.1945/v3.0.0.tar.gz differ: char 12, line 1

Reply via email to