[febootstrap] Clear executable stack flag on febootstrap-supermin-helper.
Richard W.M. Jones
rjones at fedoraproject.org
Fri Jan 14 15:37:25 UTC 2011
commit 29ddd454b296df3c2f064d79de92b5ea22fbaad7
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Jan 14 15:34:41 2011 +0000
Clear executable stack flag on febootstrap-supermin-helper.
febootstrap.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/febootstrap.spec b/febootstrap.spec
index 59db526..963707d 100644
--- a/febootstrap.spec
+++ b/febootstrap.spec
@@ -1,7 +1,7 @@
Summary: Bootstrapping tool for creating supermin appliances
Name: febootstrap
Version: 3.3
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://people.redhat.com/~rjones/febootstrap/
@@ -15,6 +15,7 @@ BuildRequires: /sbin/insmod.static
BuildRequires: e2fsprogs-devel
BuildRequires: glibc-static
BuildRequires: ocaml, ocaml-findlib-devel
+BuildRequires: prelink
ExclusiveArch: alpha armv4l %{ix86} ia64 x86_64 ppc sparc sparcv9 ppc64
@@ -52,6 +53,13 @@ make
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+# febootstrap-supermin-helper is marked as requiring an executable
+# stack. This happens because we use objcopy to create one of the
+# component object files from a data file. The program does not in
+# fact require an executable stack. The easiest way to fix this is to
+# clear the flag here.
+execstack -c $RPM_BUILD_ROOT%{_bindir}/febootstrap-supermin-helper
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jan 14 2011 Richard Jones <rjones at redhat.com> - 3.3-3
+- Clear executable stack flag on febootstrap-supermin-helper.
+
* Thu Jan 13 2011 Dan Horák <dan[at]danny.cz> - 3.3-2
- add the ocaml's ExclusiveArch
More information about the scm-commits
mailing list