From 2f2c0801dde39c2fa5062eb08fb0137640a1a2a8efa06aa7a94952efccc7900b Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Mon, 4 Oct 2021 07:06:14 +0000 Subject: [PATCH] Accepting request 922526 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Fix %ifarch for 32-bit arm OBS-URL: https://build.opensuse.org/request/show/922526 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=84 --- openafs.changes | 5 +++++ openafs.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openafs.changes b/openafs.changes index 952e9d9..2dd6a4a 100644 --- a/openafs.changes +++ b/openafs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 1 09:08:58 UTC 2021 - Guillaume GARDET + +- Fix %ifarch for 32-bit arm + ------------------------------------------------------------------- Tue Aug 3 22:32:14 UTC 2021 - Christof Hanke diff --git a/openafs.spec b/openafs.spec index 5ba3c5b..d1f7692 100644 --- a/openafs.spec +++ b/openafs.spec @@ -51,7 +51,7 @@ %define vicecachedir /var/cache/openafs %define afslocaldir /var/lib/openafs -%ifarch ppc64le ppc64 arm +%ifarch ppc64le ppc64 %{arm} %define build_kernel_modules 0 %endif @@ -335,7 +335,7 @@ perl -pi -e 's,^(XCFLAGS.*),\1 -fPIC,' src/config/Makefile.ppc_linux24.in sysbase=ppc64 export LDFLAGS="$LDFLAGS -m64" %endif -%ifarch arm +%ifarch %{arm} sysbase=arm %endif %ifarch aarch64