diff options
author | Mageia SVN-Git Migration <svn-git-migration@mageia.org> | 2011-01-06 17:30:05 +0000 |
---|---|---|
committer | Mageia SVN-Git Migration <svn-git-migration@mageia.org> | 2011-01-06 17:30:05 +0000 |
commit | 4f80b38c4dc01c1318e4824bbc617f8e828c9d36 (patch) | |
tree | b94d335e7e4865ed80f54d08da70bee3a06394e5 /build.macros.in | |
parent | 46126ac083e7b7e49c0cb26207b0e0a8206abde2 (diff) | |
download | rpm-setup-4f80b38c4dc01c1318e4824bbc617f8e828c9d36.tar rpm-setup-4f80b38c4dc01c1318e4824bbc617f8e828c9d36.tar.gz rpm-setup-4f80b38c4dc01c1318e4824bbc617f8e828c9d36.tar.bz2 rpm-setup-4f80b38c4dc01c1318e4824bbc617f8e828c9d36.tar.xz rpm-setup-4f80b38c4dc01c1318e4824bbc617f8e828c9d36.zip |
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
------------------------------------------------------------------------
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 8 |
1 files changed, 4 insertions, 4 deletions
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. |