[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924305: unblock: python-saharaclient/2.0.0-2.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package python-saharaclient

This upload fixes removal of obsolete alternatives that would otherwise
stay around after upgrades from stretch.
The NMU was just uploaded to DELAYED/5

unblock python-saharaclient/2.0.0-2.1

Andreas
diff -Nru python-saharaclient-2.0.0/debian/changelog python-saharaclient-2.0.0/debian/changelog
--- python-saharaclient-2.0.0/debian/changelog	2018-09-04 22:45:05.000000000 +0200
+++ python-saharaclient-2.0.0/debian/changelog	2019-03-11 12:08:08.000000000 +0100
@@ -1,3 +1,10 @@
+python-saharaclient (2.0.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove obsolete alternatives on upgrade.  (Closes: #910224)
+
+ -- Andreas Beckmann <anbe@debian.org>  Mon, 11 Mar 2019 12:08:08 +0100
+
 python-saharaclient (2.0.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff -Nru python-saharaclient-2.0.0/debian/python-saharaclient.postinst python-saharaclient-2.0.0/debian/python-saharaclient.postinst
--- python-saharaclient-2.0.0/debian/python-saharaclient.postinst	1970-01-01 01:00:00.000000000 +0100
+++ python-saharaclient-2.0.0/debian/python-saharaclient.postinst	2019-03-11 11:31:00.000000000 +0100
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ] ; then
+	update-alternatives --remove sahara /usr/bin/python2-sahara
+fi
+
+#DEBHELPER#
diff -Nru python-saharaclient-2.0.0/debian/python3-saharaclient.postinst python-saharaclient-2.0.0/debian/python3-saharaclient.postinst
--- python-saharaclient-2.0.0/debian/python3-saharaclient.postinst	1970-01-01 01:00:00.000000000 +0100
+++ python-saharaclient-2.0.0/debian/python3-saharaclient.postinst	2019-03-11 11:31:08.000000000 +0100
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ] ; then
+	update-alternatives --remove sahara /usr/bin/python3-sahara
+fi
+
+#DEBHELPER#

Reply to: