diff --git a/libsepol.spec b/libsepol.spec index e42874c..9e5fa67 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -1,7 +1,7 @@ Summary: SELinux binary policy manipulation library Name: libsepol Version: 2.4 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsepol-%{version}.tar.gz @@ -52,7 +52,7 @@ sed -i 's/fpic/fPIC/g' src/Makefile %build make clean -make %{?_smp_mflags} CFLAGS="%{optflags}" +make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %install rm -rf ${RPM_BUILD_ROOT} @@ -101,6 +101,9 @@ exit 0 %{_libdir}/libsepol.so.1 %changelog +* Fri Aug 14 2015 Adam Jackson 2.4-2 +- Pass ldflags to make so hardening works + * Mon Apr 13 2015 Petr Lautrbach 2.4-0.1 - Update to upstream release 2.4