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

Please unblock package python-linux-procfs

Remove obsolete alternatives on upgrades from buster.

unblock python-linux-procfs/0.6.3-1.1
diff -Nru python-linux-procfs-0.6.3/debian/changelog 
python-linux-procfs-0.6.3/debian/changelog
--- python-linux-procfs-0.6.3/debian/changelog  2021-01-20 14:38:46.000000000 
+0100
+++ python-linux-procfs-0.6.3/debian/changelog  2021-05-04 11:26:36.000000000 
+0200
@@ -1,3 +1,10 @@
+python-linux-procfs (0.6.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove obsolete alternatives on upgrades.  (Closes: #986812)
+
+ -- Andreas Beckmann <a...@debian.org>  Tue, 04 May 2021 11:26:36 +0200
+
 python-linux-procfs (0.6.3-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
@@ -36,7 +43,7 @@
 
   [ Stewart Ferguson ]
   * Removing python2 binary package
-  * Replacing pflags3 with pflags and removing upodate-alternatives
+  * Replacing pflags3 with pflags and removing update-alternatives
     + Breaks python-linux-procfs
   * Removing unused .gitignore ignore rule
   * Removing superfluous copyright block for COPYING file
diff -Nru python-linux-procfs-0.6.3/debian/python3-linux-procfs.preinst 
python-linux-procfs-0.6.3/debian/python3-linux-procfs.preinst
--- python-linux-procfs-0.6.3/debian/python3-linux-procfs.preinst       
1970-01-01 01:00:00.000000000 +0100
+++ python-linux-procfs-0.6.3/debian/python3-linux-procfs.preinst       
2021-05-04 11:25:08.000000000 +0200
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "0.6.3-1.0" ; 
then
+  update-alternatives --remove pflags /usr/bin/pflags3
+fi
+
+#DEBHELPER#

Reply via email to