[sudo/f15] build with RELPRO
Daniel Kopeček
mildew at fedoraproject.org
Fri Jun 3 13:22:36 UTC 2011
commit 7c3226ee276bbdb8bad1dd4b8ba3a8334957c50e
Author: Daniel Kopecek <dkopecek at redhat.com>
Date: Fri Jun 3 15:22:37 2011 +0200
build with RELPRO
sudo.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sudo.spec b/sudo.spec
index 070c5a1..cca9415 100644
--- a/sudo.spec
+++ b/sudo.spec
@@ -1,7 +1,7 @@
Summary: Allows restricted root access for specified users
Name: sudo
Version: 1.7.4p5
-Release: 3%{?dist}
+Release: 4%{?dist}
License: ISC
Group: Applications/System
URL: http://www.courtesan.com/sudo/
@@ -64,7 +64,7 @@ F_PIE=-fPIE
F_PIE=-fpie
%endif
-export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie"
+export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%configure \
--prefix=%{_prefix} \
@@ -147,6 +147,9 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/sudoers || :
%changelog
+* Fri Jun 3 2011 Daniel Kopecek <dkopecek at redhat.com> - 1.7.4p5-4
+- build with RELPRO
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4p5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list