From 9bdf070c3dc1b4fbeae3e6b9d4f9b21b7acdec01 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 6 Dec 2010 11:55:01 +0000 Subject: override mkrel to use distro_release macro (to be removed later) --- modules/buildsystem/templates/repsys.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/buildsystem') 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 -- cgit v1.2.1