Export ldflags into the build so hardening works
This commit is contained in:
parent
137759fab5
commit
b7e1bdd317
@ -9,7 +9,7 @@
|
|||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 2.4
|
Version: 2.4
|
||||||
Release: 1%{?dist}.1
|
Release: 2%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||||
@ -105,6 +105,8 @@ needed for developing SELinux applications.
|
|||||||
%patch1 -p1 -b .rhat
|
%patch1 -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:
|
||||||
@ -245,6 +247,9 @@ rm -rf %{buildroot}
|
|||||||
%{ruby_vendorarchdir}/selinux.so
|
%{ruby_vendorarchdir}/selinux.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4-2
|
||||||
|
- Export ldflags into the build so hardening works
|
||||||
|
|
||||||
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1.1
|
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1.1
|
||||||
- Update to 2.4 release
|
- Update to 2.4 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user