From e4eeca572ec31fe3493066524c5ead59057872f9 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Jun 02 2018 22:21:44 +0000 Subject: New upstream release. Work around FTBFS (bz 1582888). --- diff --git a/.gitignore b/.gitignore index af3a8fd..86621f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -/v20150827.tar.gz -/v20160101.tar.gz -/v20160206.tar.gz -/v20160720.tar.gz -/v20170330.tar.gz -/eclib-20170815.tar.gz +/eclib-*.tar.gz diff --git a/eclib.spec b/eclib.spec index 8895e09..96f66ef 100644 --- a/eclib.spec +++ b/eclib.spec @@ -1,8 +1,8 @@ %global with_allprogs 0 Name: eclib -Version: 20170815 -Release: 2%{?dist} +Version: 20171219 +Release: 1%{?dist} Summary: Library for Computations on Elliptic Curves License: GPLv2+ URL: http://homepages.warwick.ac.uk/~masgaj/mwrank/ @@ -49,6 +49,9 @@ sed -i 's/^LIBS.*/& -lpthread/' progs/Makefile.am autoreconf -fi %build +# FIXME: Defining _GLIBCXX_ASSERTIONS leads to segfaults in the test suite. +export CFLAGS=$(sed 's/ -Wp,-D_GLIBCXX_ASSERTIONS//' <<< '%{optflags}') +export CXXFLAGS=$CFLAGS # FLINT_LEVEL 2 assumes that the C int type == half the width of a limb_t. # This is only true on 64 bit platforms. if [ %{__isa_bits} = "64" ]; then @@ -88,10 +91,7 @@ rm $RPM_BUILD_ROOT%{_docdir}/%{name}/{g0n,howto,progs}.txt make check LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -113,6 +113,10 @@ make check LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} %changelog +* Sat Jun 2 2018 Jerry James - 20171219-1 +- New upstream release +- Work around FTBFS (bz 1582888) + * Wed Feb 07 2018 Fedora Release Engineering - 20170815-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index faf55a7..6e35ecf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (eclib-20170815.tar.gz) = 2a376f7845092190b1559a08adeb054c845ac6d9f9d758edfcc69195c5b84518f92af0ad2666b62485213ae57c6f0b089759594ce8f960cd5cf61c2c4d377e4d +SHA512 (eclib-20171219.tar.gz) = e71d567c8cc62b7688623058341c394186d6440798d83ff93ca091bdf4e3ed5c21b7d69f953c52afcab32ad5d8bd8a49a4b62419ba7630c9f53fabb52a781d86