aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-12-06 11:55:01 +0000
committerOlivier Blin <blino@mageia.org>2010-12-06 11:55:01 +0000
commit9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01 (patch)
treeef8e730858c5be0e83f04342baff9414c78ffb63 /modules
parent7bd245caa11f79c23c5e1903c3a0839ba88671e8 (diff)
downloadpuppet-9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01.tar
puppet-9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01.tar.gz
puppet-9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01.tar.bz2
puppet-9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01.tar.xz
puppet-9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01.zip
override mkrel to use distro_release macro (to be removed later)
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/templates/repsys.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/repsys.conf b/modules/buildsystem/templates/repsys.conf
index d630d51b..0d7fc283 100644
--- a/modules/buildsystem/templates/repsys.conf
+++ b/modules/buildsystem/templates/repsys.conf
@@ -42,6 +42,8 @@ rpm-macros = global cauldron
[macros global]
distsuffix = mga
+# mkrel definition to be removed when rpm-setup is updated on main build node
+mkrel(c:) = %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:mga}%{?distro_release:%distro_release}
[macros cauldron]
distro_release = 1.0