From b6572d6ed9c1a1d9b5584ee4307067d9264ca5da Mon Sep 17 00:00:00 2001 From: "d.marlin" Date: Wed, 27 Aug 2014 16:26:45 -0400 Subject: [PATCH] Allow aarch64 in the rhel build macros. Signed-off-by: Peter Jones --- src/macros.pesign | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/macros.pesign b/src/macros.pesign index 7faa4a1..39374ce 100644 --- a/src/macros.pesign +++ b/src/macros.pesign @@ -21,7 +21,9 @@ # -a # rhel only # -s # perform signing %pesign(i:o:C:e:c:n:a:s) \ - if [ -x %{_pesign} -a "%{_target_cpu}" == "x86_64" ]; then \ + if [ -x %{_pesign} ] && \\\ + [ "%{_target_cpu}" == "x86_64" -o \\\ + "%{_target_cpu}" == "aarch64" ]; then \ if [ "0%{?rhel}" -ge "7" -a -f /usr/bin/rpm-sign ]; then \ nss=$(mktemp -p $PWD -d) \ echo > ${nss}/pwfile \ -- 1.9.3