From 508eff45fdc19b48ebd43b343a45b7f53085afea Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 12 Apr 2011 11:10:55 +0000 Subject: make mgaversion macro return distro_release --- build.macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.macros.in') 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 -- cgit v1.2.1