diff --git a/libselinux.spec b/libselinux.spec index f41938a..2cb6d67 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -9,7 +9,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.4 -Release: 1%{?dist}.1 +Release: 2%{?dist} License: Public Domain Group: System Environment/Libraries # https://github.com/SELinuxProject/selinux/wiki/Releases @@ -105,6 +105,8 @@ needed for developing SELinux applications. %patch1 -p1 -b .rhat %build +export LDFLAGS="%{?__global_ldflags}" + # To support building the Python wrapper against multiple Python runtimes # Define a function, for how to perform a "build" of the python wrapper against # a specific runtime: @@ -245,6 +247,9 @@ rm -rf %{buildroot} %{ruby_vendorarchdir}/selinux.so %changelog +* Fri Aug 14 2015 Adam Jackson 2.4-2 +- Export ldflags into the build so hardening works + * Tue Jul 21 2015 Petr Lautrbach 2.4-1.1 - Update to 2.4 release