diff -Nru golang-godebiancontrol-dev-0.0~git20140119/debian/changelog golang-godebiancontrol-dev-0.0~git20140119/debian/changelog
--- golang-godebiancontrol-dev-0.0~git20140119/debian/changelog	2014-01-19 19:36:01.000000000 +0000
+++ golang-godebiancontrol-dev-0.0~git20140119/debian/changelog	2017-06-29 07:00:51.000000000 +0000
@@ -1,3 +1,13 @@
+golang-godebiancontrol-dev (0.0~git20140119-2) unstable; urgency=medium
+
+  * debian/preinst: set -e (closes: #866286)
+  * description: fix capitalization of Debian
+  * debian/control: update Homepage
+  * use secure Vcs-* tags
+  * switch to XS-Go-Import-Path
+
+ -- Michael Stapelberg <stapelberg@debian.org>  Thu, 29 Jun 2017 09:00:51 +0200
+
 golang-godebiancontrol-dev (0.0~git20140119-1) unstable; urgency=low
 
   * New upstream snapshot.
diff -Nru golang-godebiancontrol-dev-0.0~git20140119/debian/control golang-godebiancontrol-dev-0.0~git20140119/debian/control
--- golang-godebiancontrol-dev-0.0~git20140119/debian/control	2014-01-19 19:29:01.000000000 +0000
+++ golang-godebiancontrol-dev-0.0~git20140119/debian/control	2017-06-29 07:00:51.000000000 +0000
@@ -4,14 +4,15 @@
 Maintainer: Michael Stapelberg <stapelberg@debian.org>
 Build-Depends: debhelper (>= 9), golang-go, dh-golang
 Standards-Version: 3.9.4
-Homepage: https://github.com/mstap/godebiancontrol
-Vcs-Git: git://anonscm.debian.org/collab-maint/golang-godebiancontrol-dev.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/golang-godebiancontrol-dev.git;a=summary
+Homepage: https://github.com/stapelberg/godebiancontrol
+Vcs-Git: https://anonscm.debian.org/git/collab-maint/golang-godebiancontrol-dev.git
+Vcs-Browser: https://anonscm.debian.org/git/collab-maint/golang-godebiancontrol-dev.git/
+XS-Go-Import-Path: github.com/stapelberg/godebiancontrol
 
 Package: golang-godebiancontrol-dev
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Go debian control file parser
+Description: Go Debian control file parser
  Parses files such as a Debian mirror’s Packages or Sources file, or any Debian
  package’s debian/control file. Follows the Debian Policy, chapter 5.1 (“Syntax
  of control files”).
diff -Nru golang-godebiancontrol-dev-0.0~git20140119/debian/preinst golang-godebiancontrol-dev-0.0~git20140119/debian/preinst
--- golang-godebiancontrol-dev-0.0~git20140119/debian/preinst	2014-01-19 19:34:06.000000000 +0000
+++ golang-godebiancontrol-dev-0.0~git20140119/debian/preinst	2017-06-29 07:00:51.000000000 +0000
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 # This file is replaced by a symlink
 if [ "$1" = "install" ] || [ "$1" = "upgrade" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.0~git20140119-1"; then
 	rm -rf /usr/share/gocode/src/github.com/mstap/godebiancontrol
diff -Nru golang-godebiancontrol-dev-0.0~git20140119/debian/rules golang-godebiancontrol-dev-0.0~git20140119/debian/rules
--- golang-godebiancontrol-dev-0.0~git20140119/debian/rules	2014-01-19 19:22:20.000000000 +0000
+++ golang-godebiancontrol-dev-0.0~git20140119/debian/rules	2017-06-29 07:00:51.000000000 +0000
@@ -9,7 +9,5 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-export DH_GOPKG := github.com/stapelberg/godebiancontrol
-
 %:
 	dh $@ --buildsystem=golang --with=golang