[Pkg-ganeti-devel] [ganeti] 05/06: Set the Python interpreter to /usr/bin/python

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Mar 8 15:36:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit 8ab2efa6f2ae3608572f5142d162e5b53b606139
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Mon Mar 7 09:56:20 2016 +0200

    Set the Python interpreter to /usr/bin/python
    
    Otherwise most shebangs are rewritten to #!/usr/bin/python2, causing
    lintian to complain.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 9f6f285..7dc0802 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,12 @@ VCS_VER = $(shell git describe --abbrev=0 --match="v*" 2>/dev/null | sed -r 's/v
 
 GNT_USERGROUP_PREFIX="gnt-"
 
+# Set the Python interpreter path, as ganeti will use /usr/bin/python2
+# otherwise.
+
+PYTHON := /usr/bin/python
+export PYTHON
+
 %:
 	dh $@ --with python2,sphinxdoc,bash_completion,autoreconf
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list