override_dh_python3 to fix Py3 shebang.

This commit is contained in:
Thomas Goirand
2015-10-23 22:28:39 +00:00
parent 5e38157968
commit 5a61ee79fd
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
python-cinderclient (1:1.4.0-4) unstable; urgency=medium
* override_dh_python3 to fix Py3 shebang.
-- Thomas Goirand <zigo@debian.org> Fri, 23 Oct 2015 22:28:14 +0000
python-cinderclient (1:1.4.0-3) unstable; urgency=medium
* Uploading to unstable.

3
debian/rules vendored
View File

@@ -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