Hello community,

here is the log from the commit of package ntl for openSUSE:Factory checked in 
at 2018-07-28 12:43:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntl (Old)
 and      /work/SRC/openSUSE:Factory/.ntl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ntl"

Sat Jul 28 12:43:29 2018 rev:21 rq:625685 version:11.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ntl/ntl.changes  2018-06-29 22:33:50.942134656 
+0200
+++ /work/SRC/openSUSE:Factory/.ntl.new/ntl.changes     2018-07-28 
12:43:33.408788781 +0200
@@ -1,0 +2,15 @@
+Thu Jul 26 12:24:57 UTC 2018 - [email protected]
+
+- Update to new upstream release 11.2.1
+  * The low-level "small-prime" FFT (a.k.a., NTT) was rewritten. It
+    implements a "truncated" FFT, which can speed up polynomial
+    multiplication by a factor of two, and which mainly eliminates
+    "jumps" in the running time at powers of two. The new FFT
+    routines are in fact a bit faster even at powers of two.
+  * Improved performance of ZZ mul and sqr on small inputs:
+    mul speedup: 1 limb: 2.5x; 2 limbs: 1.4x; 3 limbs: 1.3x.
+  * More efficient implementation of low-level butterfly
+    operations.
+- Remove ntl-automake.diff, add no-static.diff.
+
+-------------------------------------------------------------------

Old:
----
  ntl-11.0.0.tar.gz
  ntl-automake.diff

New:
----
  no-static.diff
  ntl-11.2.1.tar.gz

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

Other differences:
------------------
++++++ ntl.spec ++++++
--- /var/tmp/diff_new_pack.KwW6LB/_old  2018-07-28 12:43:33.964789790 +0200
+++ /var/tmp/diff_new_pack.KwW6LB/_new  2018-07-28 12:43:33.964789790 +0200
@@ -17,8 +17,8 @@
 
 
 Name:           ntl
-%define lname  libntl36
-Version:        11.0.0
+%define lname  libntl38
+Version:        11.2.1
 Release:        0
 Summary:        Library for Number Theory
 License:        LGPL-2.1-or-later
@@ -26,7 +26,7 @@
 Url:            http://shoup.net/ntl/
 
 Source:         http://shoup.net/ntl/ntl-%version.tar.gz
-Patch1:         ntl-automake.diff
+Patch1:         no-static.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -62,24 +62,36 @@
 
 This package contains the headers and library links to libntl.
 
+%package doc
+Summary:        Documentation for NTL, a number theory library
+Group:          Documentation/HTML
+BuildArch:      noarch
+
+%description doc
+NTL is a C++ library providing data structures and algorithms for
+manipulating signed, arbitrary length integers, and for vectors,
+matrices, and polynomials over the integers and over finite fields.
+
+This package contains the documentation for the NTL API.
+
 %prep
 %setup -qn ntl-%version
 %patch -P 1 -p1
-rm -f src/makefile
 
 %build
-mkdir -p m4
-autoreconf -fi
-%configure --disable-static
+pushd src/
+./configure CXXFLAGS="%optflags" DEF_PREFIX="%_prefix" LIBDIR="%_libdir" \
+       DOCDIR="%_defaultdocdir" NTL_GF2X_LIB=on SHARED=on NATIVE=off
 make %{?_smp_mflags}
-# Ensure we have all source files in Makefile.am
-if ldd -r src/.libs/libntl.so | grep undefined; then
-       exit 1
-fi
+popd
 
 %install
+pushd src/
 %make_install
-rm -f "%buildroot/%_libdir"/*.la
+# DEF_PREFIX="%_prefix" LIBDIR="%_libdir"
+mv "%buildroot/%_defaultdocdir/NTL" "%buildroot/%_defaultdocdir/ntl"
+popd
+rm -fv "%buildroot/%_libdir"/*.la
 %fdupes %buildroot/%_prefix
 
 %post   -n %lname -p /sbin/ldconfig
@@ -93,6 +105,8 @@
 %defattr(-,root,root)
 %_includedir/NTL/
 %_libdir/libntl.so
-%doc doc/*
+
+%files doc
+%_defaultdocdir/%name/
 
 %changelog

++++++ no-static.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2018-07-26 14:53:39.797440030 +0200

Eh, do not waste time building static libs which we are not going to
keep.
---
 src/DoConfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ntl-11.2.1/src/DoConfig
===================================================================
--- ntl-11.2.1.orig/src/DoConfig
+++ ntl-11.2.1/src/DoConfig
@@ -200,7 +200,7 @@ if ($MakeFlag{'SHARED'} eq 'off') {
 
       system("rm -rf libtool-build") and die "Error: libtool build failed\n";
       system("cp -R libtool-origin libtool-build") and die "Error: libtool 
build failed\n";
-      system("cd libtool-build && ./configure") and die "Error: libtool build 
failed\n";
+      system("cd libtool-build && ./configure --disable-static") and die 
"Error: libtool build failed\n";
 
       if (-x "libtool-build/libtool") {
         print "\n*** libtool OK\n\n";
++++++ ntl-11.0.0.tar.gz -> ntl-11.2.1.tar.gz ++++++
++++ 11513 lines of diff (skipped)


Reply via email to