From: Nir Soffer nsoffer@redhat.com
On Fedora 29 "python" is not installed by default, so the build fail with:
+ make -C python make: Entering directory '/builddir/build/BUILD/sanlock-3.6.0/python' python setup.py build make: Leaving directory '/builddir/build/BUILD/sanlock-3.6.0/python' BUILDSTDERR: make: python: Command not found
Using python2 fixes this issue.
Signed-off-by: Nir Soffer nsoffer@redhat.com --- python/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/python/Makefile b/python/Makefile index ff24e1d..06c2201 100644 --- a/python/Makefile +++ b/python/Makefile @@ -3,16 +3,16 @@ # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2.
all: - python setup.py build + python2 setup.py build
inplace: - python setup.py build_ext --inplace + python2 setup.py build_ext --inplace
install: - python setup.py install --root=$(DESTDIR) + python2 setup.py install --root=$(DESTDIR)
clean: rm -rf build
sanlock-devel@lists.fedorahosted.org