aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2026-02-22 11:02:43 +0200
committerJani Välimaa <wally@mageia.org>2026-02-22 11:02:43 +0200
commit8af8e089d584ffe36e26569b59374a01ca733283 (patch)
tree50876126eb81a67c4672c7d7bfd70ae7c9cb6786 /modules/buildsystem
parent84396c4ea8ea357cbed2055bf599b9d593b247a1 (diff)
downloadpuppet-8af8e089d584ffe36e26569b59374a01ca733283.tar
puppet-8af8e089d584ffe36e26569b59374a01ca733283.tar.gz
puppet-8af8e089d584ffe36e26569b59374a01ca733283.tar.bz2
puppet-8af8e089d584ffe36e26569b59374a01ca733283.tar.xz
puppet-8af8e089d584ffe36e26569b59374a01ca733283.zip
buildsystem: define mgaver and mgaversion macros in mgarepo.conf
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/mgarepo.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/mgarepo.conf b/modules/buildsystem/templates/mgarepo.conf
index a35022c9..30d88af5 100644
--- a/modules/buildsystem/templates/mgarepo.conf
+++ b/modules/buildsystem/templates/mgarepo.conf
@@ -63,6 +63,8 @@ dist = %{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_r
-%>
[macros <%= d %>]
distro_release = <%= distro['version'] %>
+mgaver = <%= distro['version'] %>
+mgaversion = <%= distro['version'] %>
<%-
distro['macros'].keys.sort.each{|macro|
value = distro['macros'][macro]