summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/common
diff options
context:
space:
mode:
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
+