Fix standard Fedora linker flags missing

- Resolves #1548709

Signed-off-by: Rafael Santos <rdossant@redhat.com>
epel9
Rafael Santos 7 years ago
parent ef94075c5f
commit 5d7d1fe42a

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

Loading…
Cancel
Save