saltbundlepy-rpm-macros/saltbundlepy-flavor.patch

23 lines
581 B
Diff
Raw Permalink Normal View History

--- a/compile-macros.sh
+++ b/compile-macros.sh
@@ -2,7 +2,7 @@
# The set of flavors for which we produce macros. Not identical to
# the buildset predefined for specific distributions (see below)
-FLAVORS="python2 python3 python38 python39 python310 python311 python312 pypy3"
+FLAVORS="saltbundlepy"
### flavor-specific: generate from flavor.in
for flavor in $FLAVORS; do
--- a/functions.lua
+++ b/functions.lua
@@ -29,6 +29,8 @@
python2 = "py2",
python3 = "py3",
pypy = "pypy",
+
+ saltbundlepy = "py3",
}
function replace_macros(str, targetflavor)