From 9d076cc154761e837efb8d880bf5a34b4507e024 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Mar 2008 05:44:52 +0000 Subject: Add _host_rpmprefix. --- contrib/crossrpms/common/common.add | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib/crossrpms/common') 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 + -- cgit v1.2.3