diff --git a/eclib.spec b/eclib.spec index 30ff7c3..65d5489 100644 --- a/eclib.spec +++ b/eclib.spec @@ -2,7 +2,7 @@ Name: eclib Version: 20120830 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library for Computations on Elliptic Curves Group: Development/Libraries License: GPLv3+ @@ -39,6 +39,9 @@ pushd src autoreconf -fi popd +# Look for the C++-mangled version of the name instead of the C version +sed -i 's/_ntl_gmul/_Z9_ntl_gmulPvS_PS_/' src/configure + %build pushd src %configure \ @@ -54,8 +57,7 @@ pushd src # -Wl,--as-needed after all the libraries. sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ - -e 's|^LTCC="gcc"|LTCC="gcc -Wl,--as-needed"|' \ - -e 's|^CC="g++"|CC="g++ -Wl,--as-needed"|' \ + -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \ -i libtool make %{?_smpflags} @@ -82,10 +84,10 @@ make -C src check LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} %files %doc src/AUTHORS -%doc src/COPYING %doc src/NEWS %doc src/README %doc SPKG.txt +%license src/COPYING %if %{with_allprogs} %{_bindir}/* %else @@ -101,6 +103,10 @@ make -C src check LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} %changelog +* Tue Oct 28 2014 Jerry James - 20120830-8 +- Rebuild for NTL 6.2.1 +- Fix license handling + * Sat Aug 16 2014 Fedora Release Engineering - 20120830-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild