Added check-uuid to the update-alternative handling.

This commit is contained in:
Thomas Goirand
2015-12-03 00:00:35 +01:00
parent 3bd8430bc9
commit 456147e8e8
8 changed files with 9 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -3,6 +3,7 @@ python-tempest-lib (0.11.0-1) experimental; urgency=medium
[ Thomas Goirand ]
* New upstream release.
* Fixed (build-)depends for this release.
* Added check-uuid to the update-alternative handling.
[ Corey Bryant ]
* d/control: Update uploaders.

View File

@@ -4,6 +4,7 @@ set -e
if [ "$1" = "configure" ] ; then
update-alternatives --install /usr/bin/skip-tracker skip-tracker /usr/bin/python2-skip-tracker 300
update-alternatives --install /usr/bin/check-uuid check-uuid /usr/bin/python2-check-uuid 300
fi
#DEBHELPER#

View File

@@ -5,6 +5,7 @@ set -e
if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
update-alternatives --remove subunit-trace /usr/bin/python2-subunit-trace
update-alternatives --remove skip-tracker /usr/bin/python2-skip-tracker
update-alternatives --remove check-uuid /usr/bin/python2-check-uuid
fi
#DEBHELPER#

View File

@@ -5,6 +5,7 @@ set -e
if [ "$1" = "remove" ] ; then
update-alternatives --remove subunit-trace /usr/bin/python2-subunit-trace
update-alternatives --remove skip-tracker /usr/bin/python2-skip-tracker
update-alternatives --remove check-uuid /usr/bin/python2-check-uuid
fi
#DEBHELPER#

View File

@@ -4,6 +4,7 @@ set -e
if [ "$1" = "configure" ] ; then
update-alternatives --install /usr/bin/skip-tracker skip-tracker /usr/bin/python3-skip-tracker 200
update-alternatives --install /usr/bin/check-uuid check-uuid /usr/bin/python3-check-uuid 200
fi
#DEBHELPER#

View File

@@ -5,6 +5,7 @@ set -e
if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
update-alternatives --remove subunit-trace /usr/bin/python3-subunit-trace
update-alternatives --remove skip-tracker /usr/bin/python3-skip-tracker
update-alternatives --remove check-uuid /usr/bin/python3-check-uuid
fi
#DEBHELPER#

View File

@@ -5,6 +5,7 @@ set -e
if [ "$1" = "remove" ] ; then
update-alternatives --remove subunit-trace /usr/bin/python3-subunit-trace
update-alternatives --remove skip-tracker /usr/bin/python3-skip-tracker
update-alternatives --remove check-uuid /usr/bin/python3-check-uuid
fi
#DEBHELPER#

2
debian/rules vendored
View File

@@ -21,7 +21,9 @@ override_dh_install:
--root $(CURDIR)/debian/python3-tempest-lib; \
done
mv $(CURDIR)/debian/python-tempest-lib/usr/bin/skip-tracker $(CURDIR)/debian/python-tempest-lib/usr/bin/python2-skip-tracker
mv $(CURDIR)/debian/python-tempest-lib/usr/bin/check-uuid $(CURDIR)/debian/python-tempest-lib/usr/bin/python2-check-uuid
mv $(CURDIR)/debian/python3-tempest-lib/usr/bin/skip-tracker $(CURDIR)/debian/python3-tempest-lib/usr/bin/python3-skip-tracker
mv $(CURDIR)/debian/python3-tempest-lib/usr/bin/check-uuid $(CURDIR)/debian/python3-tempest-lib/usr/bin/python3-check-uuid
rm -rf $(CURDIR)/debian/python*-tempest-lib/usr/lib/python*/dist-packages/*.pth
override_dh_python3: