aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-04-12 11:10:55 +0000
committerOlivier Blin <blino@mageia.org>2011-04-12 11:10:55 +0000
commit508eff45fdc19b48ebd43b343a45b7f53085afea (patch)
tree24ce2ca1f526cb19951a8f1f935b6ad8fdd99abf
parent51b7e7399a663eb1f609ff4371d83db6a87bc3aa (diff)
downloadrpm-setup-508eff45fdc19b48ebd43b343a45b7f53085afea.tar
rpm-setup-508eff45fdc19b48ebd43b343a45b7f53085afea.tar.gz
rpm-setup-508eff45fdc19b48ebd43b343a45b7f53085afea.tar.bz2
rpm-setup-508eff45fdc19b48ebd43b343a45b7f53085afea.tar.xz
rpm-setup-508eff45fdc19b48ebd43b343a45b7f53085afea.zip
make mgaversion macro return distro_release
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index 4c5ec11..c9790a0 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -148,7 +148,7 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} -
# - "9.1" => 910
# - "10.2.2" => 1022
# (user may copy the following line in specfile)
-%mgaversion %(perl -pe '/(\\d+)\\.(\\d)\\.?(\\d)?/; $_="$1$2".($3||0)' /etc/release)
+%mgaversion %distro_release
%distsuffix .mga