diff --git a/debian/changelog b/debian/changelog index 023bc43..3423be7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-cinderclient (1:1.4.0-4) unstable; urgency=medium + + * override_dh_python3 to fix Py3 shebang. + + -- Thomas Goirand Fri, 23 Oct 2015 22:28:14 +0000 + python-cinderclient (1:1.4.0-3) unstable; urgency=medium * Uploading to unstable. diff --git a/debian/rules b/debian/rules index bb1d997..34a28de 100755 --- a/debian/rules +++ b/debian/rules @@ -28,6 +28,9 @@ override_dh_auto_install: mv $(CURDIR)/debian/python-cinderclient/usr/bin/cinder $(CURDIR)/debian/python-cinderclient/usr/bin/python2-cinder mv $(CURDIR)/debian/python3-cinderclient/usr/bin/cinder $(CURDIR)/debian/python3-cinderclient/usr/bin/python3-cinder +override_dh_python3: + dh_python3 --shebang=/usr/bin/python3 + override_dh_install: dh_install install -D -m 0644 tools/cinder.bash_completion $(CURDIR)/debian/python-cinderclient/usr/share/bash-completion/completions/cinder.bash_completion