Use python2/3 instead of python in Makefile/spec

Fixes: https://pagure.io/koji/issue/1018
This commit is contained in:
Tomas Kopecek 2018-08-01 13:43:08 +02:00 committed by Mike McLean
parent c203afe7c2
commit ccdb8ac34c
8 changed files with 3 additions and 8 deletions

View file

@ -1,6 +1,5 @@
SUBDIRS=koji_cli
PYTHON=python
PACKAGE = $(shell basename `pwd`)
PYVER := $(shell $(PYTHON) -c 'import sys; print("%.3s" %(sys.version))')
PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print(sys.prefix)')

View file

@ -1,6 +1,5 @@
PYFILES = $(wildcard *.py)
PYTHON=python
PACKAGE = $(shell basename `pwd`)
PYVER := $(shell $(PYTHON) -c 'import sys; print("%.3s" % (sys.version))')
PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print(sys.prefix)')