summaryrefslogtreecommitdiff
path: root/platform.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-03-25 14:39:36 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-03-25 14:48:49 +0200
commit2a8d03669732f68f02fa7b21ec87ee3f65d11e5b (patch)
treeb3dbe6c68bb0b1ee7290fe17a37dcc51a49acb2c /platform.in
parent07ec480c180e4005a629242b8f9f8ab640e3e950 (diff)
downloadrpm-2a8d03669732f68f02fa7b21ec87ee3f65d11e5b.tar.gz
Push platform config out of main rpm macros file
- canon arch & color stuff is now calculated per each known arch in installplatform, and just a single place where arch name mangling is done
Diffstat (limited to 'platform.in')
-rw-r--r--platform.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform.in b/platform.in
index 384f415ab..45c65a599 100644
--- a/platform.in
+++ b/platform.in
@@ -4,6 +4,7 @@
# ---- per-platform macros.
#
%_arch @RPMCANONARCH@
+%_build_arch @RPMCANONARCH@
%_vendor @RPMCANONVENDOR@
%_os @RPMCANONOS@
%_gnu @RPMRC_GNU@
@@ -14,6 +15,13 @@
%__isa_bits @ISABITS@
%__isa %{__isa_name}-%{__isa_bits}
+# The default transaction color. This value is a set of bits to
+# determine file and dependency affinity for this arch.
+# 0 uncolored (i.e. use only arch as install hint)
+# 1 Elf32 permitted
+# 2 Elf64 permitted
+%_transaction_color @RPMCANONCOLOR@
+
#==============================================================================
# ---- configure macros.
#