The package rpms/libfplll.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/libfplll.git/commit/?id=384d60ee6....
Change:
+%ifarch %{arm} s390x
Thanks.
Full change:
============
commit 384d60ee6f5a41aac143423197fed3fd1d5c73a8
Author: Jerry James <loganjerry(a)gmail.com>
Date: Sun Dec 13 11:50:57 2020 -0700
Version 5.4.0.
diff --git a/libfplll-gcc11.patch b/libfplll-gcc11.patch
new file mode 100644
index 0000000..2bcc955
--- /dev/null
+++ b/libfplll-gcc11.patch
@@ -0,0 +1,24 @@
+--- a/fplll/enum/enumerate_ext_api.h 2020-12-04 07:03:46.000000000 -0700
++++ b/fplll/enum/enumerate_ext_api.h 2020-12-10 17:19:36.560140652 -0700
+@@ -84,7 +84,7 @@ typedef void(extenum_cb_process_subsol)(
+ * Or ~uint64_t(0) when instance is not supported
+ * in which case fplll falls back to its own enumeration.
+ */
+-typedef std::array<std::uint64_t,
FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
++typedef std::array<uint64_t,
FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
+ const int dim, fplll_extenum_enumf maxdist,
std::function<extenum_cb_set_config> cbfunc,
+ std::function<extenum_cb_process_sol> cbsol,
std::function<extenum_cb_process_subsol> cbsubsol,
+ bool dual /*=false*/, bool findsubsols /*=false*/
+--- a/fplll/io/json.hpp 2020-12-04 07:03:46.000000000 -0700
++++ b/fplll/io/json.hpp 2020-12-10 17:19:09.620165059 -0700
+@@ -223,8 +223,8 @@ template <
+ template<typename U, typename... Args> class ArrayType = std::vector,
+ class StringType = std::string,
+ class BooleanType = bool,
+- class NumberIntegerType = std::int64_t,
+- class NumberUnsignedType = std::uint64_t,
++ class NumberIntegerType = int64_t,
++ class NumberUnsignedType = uint64_t,
+ class NumberFloatType = double,
+ template<typename U> class AllocatorType = std::allocator
+ >
diff --git a/libfplll.spec b/libfplll.spec
index d3eae07..377546d 100644
--- a/libfplll.spec
+++ b/libfplll.spec
@@ -1,13 +1,17 @@
# The ARM and s390x builders appear to run out of memory with LTO
+%ifarch %{arm} s390x
%global _lto_cflags %{nil}
+%endif
Name: libfplll
-Version: 5.3.3
-Release: 3%{?dist}
+Version: 5.4.0
+Release: 1%{?dist}
Summary: LLL-reduces euclidean lattices
License: LGPLv2+
URL:
https://github.com/fplll/fplll
Source0:
https://github.com/fplll/fplll/releases/download/%{version}/fplll-%{versi...
+# Adapt to changes in gcc 11
+Patch0: %{name}-gcc11.patch
BuildRequires: gcc-c++
BuildRequires: help2man
@@ -83,7 +87,6 @@ sed -e
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
cd fplll
export LD_LIBRARY_PATH=$PWD/.libs
help2man -N -o ../fplll.1 ./fplll
-help2man -N -o ../latsieve.1 ./latsieve
help2man -N -o ../latticegen.1 ./latticegen
cd -
@@ -102,7 +105,7 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%files
%doc NEWS README.md
%license COPYING
-%{_libdir}/libfplll.so.6*
+%{_libdir}/libfplll.so.7*
%{_datadir}/fplll/
%files devel
@@ -112,16 +115,19 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%{_libdir}/pkgconfig/fplll.pc
%files static
-%{_libdir}/*.a
+%{_libdir}/libfplll.a
%files tools
-%{_bindir}/*
+%{_bindir}/fplll
+%{_bindir}/latticegen
%{_mandir}/man1/fplll.1*
-%{_mandir}/man1/latsieve.1*
%{_mandir}/man1/latticegen.1*
%changelog
+* Thu Dec 10 2020 Jerry James <loganjerry(a)gmail.com> - 5.4.0-1
+- Version 5.4.0
+
* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 5.3.3-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index 9201270..35817ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fplll-5.3.3.tar.gz) =
f69b98c9befe9f2ce15fdcb1b4c1bf83a7267f606770228e05416e13930d1ecb745824b1793ccc11ab13ddb0140c1daa6cfade50f2e79f93dee296880d98bef4
+SHA512 (fplll-5.4.0.tar.gz) =
a583aac73e4618ba240c28d3e8485cef6b9c184c11b33799404e96ab99502023073ed1c6fc0d3fbc4e6737415e9ea1a273f3f1e59ccba69d1546f56903567ebe
commit e47ac5090d427d2fb7acdd156489fdfa24c47c36
Author: Jerry James <loganjerry(a)gmail.com>
Date: Mon Nov 9 14:42:15 2020 -0700
Explicitly BR make.
diff --git a/libfplll.spec b/libfplll.spec
index e7e179a..d3eae07 100644
--- a/libfplll.spec
+++ b/libfplll.spec
@@ -11,6 +11,7 @@ Source0:
https://github.com/fplll/fplll/releases/download/%{version}/fpll
BuildRequires: gcc-c++
BuildRequires: help2man
+BuildRequires: make
BuildRequires: pkgconfig(mpfr)
BuildRequires: pkgconfig(qd)