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
|
Summary: SELinux binary policy manipulation library
|
||||||
Name: libsemanage
|
Name: libsemanage
|
||||||
Version: 2.4
|
Version: 2.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsemanage-%{version}.tar.gz
|
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
|
%patch -p1 -b .rhat
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export LDFLAGS="%{?__global_ldflags}"
|
||||||
|
|
||||||
# To support building the Python wrapper against multiple Python runtimes
|
# To support building the Python wrapper against multiple Python runtimes
|
||||||
# Define a function, for how to perform a "build" of the python wrapper against
|
# Define a function, for how to perform a "build" of the python wrapper against
|
||||||
# a specific runtime:
|
# a specific runtime:
|
||||||
@ -189,6 +191,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 30 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-2
|
||||||
- semanage_migrate_store: use /usr/bin/python3
|
- semanage_migrate_store: use /usr/bin/python3
|
||||||
- move semanage_migrate_store script to libsemanage-python3
|
- move semanage_migrate_store script to libsemanage-python3
|
||||||
|
Loading…
Reference in New Issue
Block a user