Skip to content
Snippets Groups Projects
Commit 5989f697890a authored by kiilerix's avatar kiilerix
Browse files

packaging: fix docker-centos5 - use pythonexe and set to "python" as before

Fix 92a51a45d44c .
parent 433cdcb37321
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
shift
PYTHONVER=2.7.16
PYTHONMD5=f1a2ace631068444831d01485466ece0
PYTHONEXE=python
;;
--rpmbuilddir )
shift
......
......@@ -2,6 +2,8 @@
%define withpython %{nil}
%global pythonexe python2
%if "%{?withpython}"
%global pythonver %{withpython}
......@@ -15,7 +17,6 @@
%else
%global pythonexe python2
%global pythonver %(%{pythonexe} -c 'import sys;print(".".join(map(str, sys.version_info[:2])))')
%endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment