aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-30 12:00:13 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-30 12:00:13 +0000
commitac6820baf548b5bc524dc3fa472d135b86808442 (patch)
tree236b7145a61845e29d82655ad504aec06656838b /build.macros.in
parentc7d328c35f0d3eb0bea296a8f5dfbb54576de81b (diff)
downloadrpm-setup-ac6820baf548b5bc524dc3fa472d135b86808442.tar
rpm-setup-ac6820baf548b5bc524dc3fa472d135b86808442.tar.gz
rpm-setup-ac6820baf548b5bc524dc3fa472d135b86808442.tar.bz2
rpm-setup-ac6820baf548b5bc524dc3fa472d135b86808442.tar.xz
rpm-setup-ac6820baf548b5bc524dc3fa472d135b86808442.zip
Default to core, useful for local builds1.133
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index fe97b5f..7cf90a8 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -152,7 +152,8 @@ 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}" != "core" ] && echo .%distro_section)
+%__distro_section %{?distro_section:%distro_section}%{?!distro_section:core}
+%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