diff options
author | Olivier Blin <blino@mageia.org> | 2011-04-12 11:10:55 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-04-12 11:10:55 +0000 |
commit | 508eff45fdc19b48ebd43b343a45b7f53085afea (patch) | |
tree | 24ce2ca1f526cb19951a8f1f935b6ad8fdd99abf | |
parent | 51b7e7399a663eb1f609ff4371d83db6a87bc3aa (diff) | |
download | rpm-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.in | 2 |
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 |