aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index cb557de..fe97b5f 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -152,7 +152,7 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} -
%distsuffix @DISTSUFFIX@
-%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}%{?distro_section:.%distro_section}
+%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}%([ "%{distro_section}" != "core" ] && echo .%distro_section)
#------------------------------------------------------------------------------
# definions merged from manbo-setup-build