From 4f80b38c4dc01c1318e4824bbc617f8e828c9d36 Mon Sep 17 00:00:00 2001 From: Mageia SVN-Git Migration Date: Thu, 6 Jan 2011 17:30:05 +0000 Subject: Synthesized commit during git-svn import combining previous Mandriva history with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r231 | boklm | 2011-01-06 17:30:05 +0000 (Thu, 06 Jan 2011) | 1 line import rpm-setup version cleaned by blino ------------------------------------------------------------------------ --- build.macros.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 30ca07f..8e9a8ba 100644 --- a/build.macros.in +++ b/build.macros.in @@ -144,15 +144,15 @@ done \ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} --makefile-uninstall-rule $SCHEMAS > /dev/null || true ; fi \ %{nil} -# Mandriva Linux version +# Mageia Linux version # - "9.1" => 910 # - "10.2.2" => 1022 # (user may copy the following line in specfile) -%mdkversion %(perl -pe '/(\\d+)\\.(\\d)\\.?(\\d)?/; $_="$1$2".($3||0)' /etc/mandriva-release) +%mgaversion %(perl -pe '/(\\d+)\\.(\\d)\\.?(\\d)?/; $_="$1$2".($3||0)' /etc/release) -%distsuffix mdv +%distsuffix mga -%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:mdv}%{?mandriva_release:%mandriva_release} +%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:mga}%{?distro_release:%distro_release} #============================================================================== # ---- Build policy macros. -- cgit v1.2.1