diff --git a/checkpolicy.spec b/checkpolicy.spec index e0bbd01..ed99f1b 100644 --- a/checkpolicy.spec +++ b/checkpolicy.spec @@ -4,7 +4,7 @@ Summary: SELinux policy compiler Name: checkpolicy Version: 2.7 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/checkpolicy-2.7.tar.gz # download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh @@ -35,9 +35,9 @@ Only required for building policies. %build make clean -make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" +make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS" cd test -make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" +make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS" %install mkdir -p ${RPM_BUILD_ROOT}%{_bindir} @@ -56,6 +56,9 @@ install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol %{_bindir}/sedispol %changelog +* Thu Feb 22 2018 Florian Weimer - 2.7-5 +- Use LDFLAGS from redhat-rpm-config + * Wed Feb 07 2018 Fedora Release Engineering - 2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild