aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in8
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.