[packages/xkeyboard-config] - ifarch doesn't work after BuildArch: noarch, detect x32 by _gnu macro value

qboosh qboosh at pld-linux.org
Sun Jun 28 18:18:05 CEST 2015


commit 92fcb20a17b4352bafc0a6c95451efa5964e5c91
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 28 18:19:46 2015 +0200

    - ifarch doesn't work after BuildArch: noarch, detect x32 by _gnu macro value

 xkeyboard-config.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xkeyboard-config.spec b/xkeyboard-config.spec
index 0952c2b..17d8d89 100644
--- a/xkeyboard-config.spec
+++ b/xkeyboard-config.spec
@@ -46,7 +46,7 @@ systemów opartych na XKB.
 %{__autoconf}
 %{__automake}
 %configure \
-%ifnarch x32
+%if "%{_gnu}" != "-gnux32"
 	--host=%{_host} \
 	--build=%{_host} \
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xkeyboard-config.git/commitdiff/92fcb20a17b4352bafc0a6c95451efa5964e5c91



More information about the pld-cvs-commit mailing list