Harden the build the hard way
This commit is contained in:
parent
077fefe49f
commit
7877d139a1
@ -6,7 +6,7 @@
|
|||||||
Summary: polkit Authorization Framework
|
Summary: polkit Authorization Framework
|
||||||
Name: polkit
|
Name: polkit
|
||||||
Version: 0.109
|
Version: 0.109
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.freedesktop.org/wiki/Software/polkit
|
URL: http://www.freedesktop.org/wiki/Software/polkit
|
||||||
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
||||||
@ -84,6 +84,10 @@ Meta-package for JavaScript engine used by polkit.
|
|||||||
%if 0%{?enable_autoreconf}
|
%if 0%{?enable_autoreconf}
|
||||||
autoreconf
|
autoreconf
|
||||||
%endif
|
%endif
|
||||||
|
# we can't use _hardened_build here, see
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=892837
|
||||||
|
export CFLAGS='-fPIC %optflags'
|
||||||
|
export LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro'
|
||||||
%configure --enable-gtk-doc \
|
%configure --enable-gtk-doc \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-introspection \
|
--enable-introspection \
|
||||||
@ -160,6 +164,9 @@ exit 0
|
|||||||
%{_datadir}/doc/polkit-js-engine-%{version}/README
|
%{_datadir}/doc/polkit-js-engine-%{version}/README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 7 2013 Matthias Clasen <mclasen@redhat.com> - 0.109-2%{?dist}
|
||||||
|
- Build with pie and stuff
|
||||||
|
|
||||||
* Wed Dec 19 2012 David Zeuthen <davidz@redhat.com> 0.109-1%{?dist}
|
* Wed Dec 19 2012 David Zeuthen <davidz@redhat.com> 0.109-1%{?dist}
|
||||||
- Update to upstream release 0.109
|
- Update to upstream release 0.109
|
||||||
- Drop upstreamed patches
|
- Drop upstreamed patches
|
||||||
|
Loading…
Reference in New Issue
Block a user