From c7d328c35f0d3eb0bea296a8f5dfbb54576de81b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 30 May 2011 11:44:17 +0000 Subject: Do not append .%distro_section if section is core --- NEWS | 6 ++++++ build.macros.in | 2 +- configure.ac | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 3e6166b..7057dcb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +Version 1.132 - 19 May 2011, by Pascal Terjan +- do not append .%distro_section if section is core + +Version 1.131 - 19 May 2011, by Pascal Terjan +- append .%distro_section if set + Version 1.130 - 6 May 2011, by Nicolas Vigier - set default distsuffix to .mga (after being changed to mga in version 1.128) 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 diff --git a/configure.ac b/configure.ac index 7d34d96..aa36632 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ # $Id: configure.ac 271266 2010-11-04 10:43:28Z fwang $ AC_PREREQ(2.59) -AC_INIT(rpm-mageia-setup, 1.131, pterjan@mageia.org) +AC_INIT(rpm-mageia-setup, 1.132, pterjan@mageia.org) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.9 -Wno-portability) AC_CONFIG_SRCDIR -- cgit v1.2.1