From a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 9 Jan 2011 16:51:50 +0000 Subject: prefix default distsuffix with a dot --- build.macros.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.macros.in b/build.macros.in index 8e9a8ba..c819cb0 100644 --- a/build.macros.in +++ b/build.macros.in @@ -150,9 +150,9 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - # (user may copy the following line in specfile) %mgaversion %(perl -pe '/(\\d+)\\.(\\d)\\.?(\\d)?/; $_="$1$2".($3||0)' /etc/release) -%distsuffix mga +%distsuffix .mga -%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:mga}%{?distro_release:%distro_release} +%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release} #============================================================================== # ---- Build policy macros. -- cgit v1.2.1