From 0b770037efa9062bf053c2842d54562a359220df Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Mar 2008 05:45:41 +0000 Subject: [PATCH] Add _host_rpmprefix. --- contrib/crossrpms/common/common.add | 6 ++++++ 1 file changed, 6 insertions(+) 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 +