aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-01-09 16:51:50 +0000
committerOlivier Blin <blino@mageia.org>2011-01-09 16:51:50 +0000
commita7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107 (patch)
tree4f76a438445b615c8c03ba85ec7c599417c32b13
parent4f80b38c4dc01c1318e4824bbc617f8e828c9d36 (diff)
downloadrpm-setup-a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107.tar
rpm-setup-a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107.tar.gz
rpm-setup-a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107.tar.bz2
rpm-setup-a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107.tar.xz
rpm-setup-a7e3ae1142aaa615ba1ce76aeeef2ab1b65ac107.zip
prefix default distsuffix with a dot
-rw-r--r--build.macros.in4
1 files 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.