Pass ldflags into the build so hardening works
This commit is contained in:
parent
489cabf310
commit
ec0d6590d9
@ -7,7 +7,7 @@
|
||||
Summary: SELinux binary policy manipulation library
|
||||
Name: libsemanage
|
||||
Version: 2.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsemanage-%{version}.tar.gz
|
||||
@ -88,6 +88,8 @@ SELinux management applications.
|
||||
%patch -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:
|
||||
@ -189,6 +191,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%endif # if with_python3
|
||||
|
||||
%changelog
|
||||
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4-3
|
||||
- Pass ldflags into the build so hardening works
|
||||
|
||||
* Thu Jul 30 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-2
|
||||
- semanage_migrate_store: use /usr/bin/python3
|
||||
- move semanage_migrate_store script to libsemanage-python3
|
||||
|
Loading…
Reference in New Issue
Block a user