[flint] Rebuild for ntl 6.2.1. Fix license handling.

Jerry James jjames at fedoraproject.org
Tue Oct 28 15:36:53 UTC 2014


commit d5df6b5543d9ff615a265a0f458044cd59d3d311
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Tue Oct 28 09:36:49 2014 -0600

    Rebuild for ntl 6.2.1.
    Fix license handling.

 flint.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/flint.spec b/flint.spec
index f624191..5dcf3a0 100644
--- a/flint.spec
+++ b/flint.spec
@@ -12,7 +12,7 @@
 
 Name:           flint
 Version:        2.4.4
-Release:        3%{snapshot}%{?dist}
+Release:        4%{snapshot}%{?dist}
 Summary:        Fast Library for Number Theory
 Group:          Applications/Engineering
 License:        GPLv2+
@@ -109,6 +109,10 @@ for fil in $(find . -name \*.c -o -name \*.h); do
   fixtimestamp $fil
 done
 
+# Workaround for changes in NTL 6.2
+sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp
+fixtimestamp interfaces/NTL-interface.cpp
+
 %build
 # We set HAVE_FAST_COMPILER to 0 on ARM and s390 because otherwise the tests
 # exhaust virtual memory.  If other architectures run out of virtual memory
@@ -161,7 +165,8 @@ make check QUIET_CC= QUIET_CXX= QUIET_AR=
 
 
 %files
-%doc AUTHORS NEWS README gpl-2.0.txt
+%doc AUTHORS NEWS README
+%license gpl-2.0.txt
 %{_libdir}/libflint.so.%{sover}
 %{_datadir}/flint
 
@@ -177,6 +182,10 @@ make check QUIET_CC= QUIET_CXX= QUIET_AR=
 
 
 %changelog
+* Mon Sep 22 2014 Jerry James <loganjerry at gmail.com> - 2.4.4-4
+- Rebuild for ntl 6.2.1
+- Fix license handling
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list