Disable execstack on aarch64.

It comes from prelink which does not exist on aarch64.
This commit is contained in:
Richard W.M. Jones 2014-03-24 13:49:12 +00:00
parent 216d063a59
commit f95745b06f

View File

@ -1,7 +1,7 @@
Summary: Tool for creating supermin appliances
Name: supermin
Version: 5.1.5
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
%if 0%{?rhel} >= 7
@ -18,7 +18,9 @@ BuildRequires: /usr/sbin/mke2fs
BuildRequires: e2fsprogs-devel
BuildRequires: glibc-static, zlib-static
BuildRequires: ocaml, ocaml-findlib-devel
%ifnarch aarch64
BuildRequires: /usr/bin/execstack
%endif
Requires: rpm
Requires: yum-utils
@ -59,7 +61,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
# 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.
%ifnarch aarch64
execstack -c $RPM_BUILD_ROOT%{_bindir}/supermin
%endif
%check
@ -73,6 +77,10 @@ make check
%changelog
* Mon Mar 24 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.5-2
- Disable execstack on aarch64.
It comes from prelink which does not exist on aarch64.
* Thu Mar 13 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.5-1
- New upstream version 5.1.5.