summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-20 22:53:36 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-20 22:53:36 +0000
commit2cf255e0e592319de87373ff5e9597e005122a8a (patch)
treeeace8c516bcd6ec8f07e6c442faff4b27edd5747
parent6289a154fd7843e14110633d30dee7a52f221e5a (diff)
downloadmultiarch-utils-2cf255e0e592319de87373ff5e9597e005122a8a.tar
multiarch-utils-2cf255e0e592319de87373ff5e9597e005122a8a.tar.gz
multiarch-utils-2cf255e0e592319de87373ff5e9597e005122a8a.tar.bz2
multiarch-utils-2cf255e0e592319de87373ff5e9597e005122a8a.tar.xz
multiarch-utils-2cf255e0e592319de87373ff5e9597e005122a8a.zip
add %multiarch annotation macro, it expands to nothing on distros that
aren't multiarch capable, i.e. MDK < 10.2.
-rw-r--r--macros.multiarch5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros.multiarch b/macros.multiarch
index c518a27..f4cba2f 100644
--- a/macros.multiarch
+++ b/macros.multiarch
@@ -9,3 +9,8 @@
%if %{mdkversion} >= %{multiarch_distro} \
%{_prefix}/lib/rpm/mkmultiarch includes %* \
%endif
+
+%multiarch() \
+%if %{mdkversion} >= %{multiarch_distro} \
+%* \
+%endif