summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/common
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-03-28 05:44:52 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-03-28 05:44:52 +0000
commit9d076cc154761e837efb8d880bf5a34b4507e024 (patch)
treec72fd539ca08cd4a7b34b8c2cc0b4053b5deff89 /contrib/crossrpms/common
parentRemove stray blank line. (diff)
downloadrtems-9d076cc154761e837efb8d880bf5a34b4507e024.tar.bz2
Add _host_rpmprefix.
Diffstat (limited to 'contrib/crossrpms/common')
-rw-r--r--contrib/crossrpms/common/common.add6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/crossrpms/common/common.add b/contrib/crossrpms/common/common.add
index c92e6cd996..2d62173388 100644
--- a/contrib/crossrpms/common/common.add
+++ b/contrib/crossrpms/common/common.add
@@ -21,3 +21,9 @@
%define debug_package %{nil}
%endif
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix @rpmprefix@%{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+