diff contrib/packaging/buildrpm @ 43358:518655314fc5 stable

packaging: use "python3" for fedora29 ... and as buildrpm default Change the buidrpm default. The CentOS targets explicitly use "python", and changing the default will only influence Fedora 29. A Python 3 package needs python3 dependencies, so pythonexe (and pythonver) is used for specifying dependencies. Other OS versions will keep using "python" as before ... or potentially change to explicit "python2". Fedora 29 packages can thus also still be built for Python 2 - just not in the docker image that is updated for Python 3.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Nov 2019 12:59:22 +0100
parents 90dc0d3111d0
children de1f4c431619
line wrap: on
line diff
--- a/contrib/packaging/buildrpm	Fri Nov 01 12:47:38 2019 +0100
+++ b/contrib/packaging/buildrpm	Fri Nov 01 12:59:22 2019 +0100
@@ -6,7 +6,7 @@
 
 BUILD=1
 RPMBUILDDIR="$PWD/rpmbuild"
-PYTHONEXE=python2
+PYTHONEXE=python3
 
 while [ "$1" ]; do
     case "$1" in