summaryrefslogtreecommitdiff
path: root/macros.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 /macros.in
parent07ec480c180e4005a629242b8f9f8ab640e3e950 (diff)
downloadlibrpm-tizen-2a8d03669732f68f02fa7b21ec87ee3f65d11e5b.tar.gz
librpm-tizen-2a8d03669732f68f02fa7b21ec87ee3f65d11e5b.tar.bz2
librpm-tizen-2a8d03669732f68f02fa7b21ec87ee3f65d11e5b.zip
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 'macros.in')
-rw-r--r--macros.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/macros.in b/macros.in
index 702421ebb..ca38db128 100644
--- a/macros.in
+++ b/macros.in
@@ -585,13 +585,6 @@ print (t)\
# XXX Note: escaped %% for use in headerSprintf()
%_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
-# 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@
-
# Verify digest/signature flags for various rpm modes:
# 0x30300 (_RPMVSF_NODIGESTS) --nohdrchk if set, don't check digest(s)
# 0xc0c00 (_RPMVSF_NOSIGNATURES) --nosignature if set, don't check signature(s)
@@ -635,22 +628,6 @@ print (t)\
# Default path to the file used for transaction fcntl lock.
%_rpmlock_path %{_dbpath}/.rpm.lock
-#==============================================================================
-# ---- per-platform macros.
-# Macros that are specific to an individual platform. The values here
-# will be used if the per-platform macro file does not exist..
-#
-%_arch @RPMCANONARCH@
-%_build_arch @RPMCANONARCH@
-%_vendor @RPMCANONVENDOR@
-%_os @RPMCANONOS@
-%_gnu @RPMCANONGNU@
-%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}
-
-#
-# Define a generic value for optflags. Normally overridden by per-target macros.
-%optflags -O2
-
#
# ISA dependency marker, none for noarch and name-bitness for others
%_isa %{?__isa:(%{__isa})}%{!?__isa:%{nil}}