--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package git-remote-bzr
git-bzr used alternatives at the time it was built from src:bzr. This
is no longer the case as it is built from a separate source package now.
But the alternatives have not been cleaned up so far.
This affects jessie systems that had one of the 1:1.9 git versions
installed as well as upgrades from wheezy-backports to jessie where
that git version was backported. #773196
unblock git-remote-bzr/0.2+20140705-2
Andreas
diff -Nru git-remote-bzr-0.2+20140705/debian/changelog git-remote-bzr-0.2+20140705/debian/changelog
--- git-remote-bzr-0.2+20140705/debian/changelog 2014-07-05 19:34:02.000000000 +0200
+++ git-remote-bzr-0.2+20140705/debian/changelog 2015-01-17 19:09:43.000000000 +0100
@@ -1,3 +1,11 @@
+git-remote-bzr (0.2+20140705-2) unstable; urgency=medium
+
+ [ Vagrant Cascadian ]
+ * Clean up obsolete git-remove-bzr alternatives (from the time this was
+ built from src:git). (Closes: #773196)
+
+ -- Andreas Beckmann <anbe@debian.org> Sat, 17 Jan 2015 19:03:40 +0100
+
git-remote-bzr (0.2+20140705-1) unstable; urgency=low
* Initial release (Closes: #702697).
diff -Nru git-remote-bzr-0.2+20140705/debian/git-remote-bzr.postinst git-remote-bzr-0.2+20140705/debian/git-remote-bzr.postinst
--- git-remote-bzr-0.2+20140705/debian/git-remote-bzr.postinst 1970-01-01 01:00:00.000000000 +0100
+++ git-remote-bzr-0.2+20140705/debian/git-remote-bzr.postinst 2015-01-17 19:09:43.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ # Remove obsolete alternatives no longer provided by the package.
+ # https://bugs.debian.org/773196
+ configure)
+ update-alternatives --remove git-remote-bzr \
+ /usr/lib/git-core/git-remote-bzr--git
+ update-alternatives --remove git-remote-bzr.1.gz \
+ /usr/share/man/man1/git-remote-bzr--git.1.gz
+ ;;
+esac
diff -Nru git-remote-bzr-0.2+20140705/debian/rules git-remote-bzr-0.2+20140705/debian/rules
--- git-remote-bzr-0.2+20140705/debian/rules 2014-07-05 19:31:40.000000000 +0200
+++ git-remote-bzr-0.2+20140705/debian/rules 2015-01-17 19:09:43.000000000 +0100
@@ -6,8 +6,8 @@
dh_auto_install -- prefix=/usr DESTDIR=debian/git-remote-bzr install-doc
override_dh_gencontrol:
- dh_gencontrol -Ngit-bzr
- dh_gencontrol -pgit-bzr -- -v2:$(version)
+ dh_gencontrol --no-package=git-bzr
+ dh_gencontrol --package=git-bzr -- -v2:$(version)
%:
dh $@
--- End Message ---