diff --git a/keyutils.spec b/keyutils.spec index 5ce185e..e0af6d6 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -9,7 +9,7 @@ Summary: Linux Key Management Utilities Name: keyutils Version: %{version} -Release: 6%{?buildid}%{?dist} +Release: 7%{?buildid}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base ExclusiveOS: Linux @@ -60,7 +60,8 @@ make \ SHAREDIR=%{datadir} \ RELEASE=.%{release} \ NO_GLIBC_KEYERR=1 \ - CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" + CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" \ + LDFLAGS="%{?__global_ldflags}" %install rm -rf $RPM_BUILD_ROOT @@ -111,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Aug 14 2015 Adam Jackson 1.5.9-7 +- Pass ldflags into the build so hardening works + * Wed Jun 17 2015 Fedora Release Engineering - 1.5.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild