[Mageia-sysadm] [506] override mkrel to use distro_release macro (to be removed later)
root at mageia.org
root at mageia.org
Mon Dec 6 12:55:01 CET 2010
Revision: 506
Author: blino
Date: 2010-12-06 12:55:01 +0100 (Mon, 06 Dec 2010)
Log Message:
-----------
override mkrel to use distro_release macro (to be removed later)
Modified Paths:
--------------
puppet/modules/buildsystem/templates/repsys.conf
Modified: puppet/modules/buildsystem/templates/repsys.conf
===================================================================
--- puppet/modules/buildsystem/templates/repsys.conf 2010-12-06 11:45:29 UTC (rev 505)
+++ puppet/modules/buildsystem/templates/repsys.conf 2010-12-06 11:55:01 UTC (rev 506)
@@ -42,6 +42,8 @@
[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101206/d10770e0/attachment.html>
More information about the Mageia-sysadm
mailing list