diff --git a/libtomcrypt.spec b/libtomcrypt.spec index 398292c..ce82dc7 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -1,6 +1,6 @@ Name: libtomcrypt Version: 1.18.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ @@ -50,12 +50,12 @@ The %{name}-doc package contains documentation for use with %{name}. %setup -q %build +%set_build_flags export PREFIX="%{_prefix}" export INCPATH="%{_includedir}" export LIBPATH="%{_libdir}" -export LDFLAGS="%{?__global_ldflags}" export EXTRALIBS="-ltommath" -export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM" +export CFLAGS="%{build_cflags} -DLTM_DESC -DUSE_LTM" %make_build V=1 -f makefile.shared library %make_build V=1 -f makefile docs %make_build V=1 -f makefile.shared test @@ -91,6 +91,9 @@ sed -i \ %doc doc/crypt.pdf %changelog +* Mon Apr 09 2018 Rafael Santos - 1.18.1-4 +- Fix missing Fedora linker flags (bug #1548709) + * Wed Feb 07 2018 Fedora Release Engineering - 1.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild