This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new 5d535c0 python: Fix build on Fedora 29
5d535c0 is described below
commit 5d535c0d800a84665879f6dc50c87915cf6657da
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Mon Jan 28 23:02:02 2019 +0200
python: Fix build on Fedora 29
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(a)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
@@ -5,13 +5,13 @@
# 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date