[pkg-go] Bug#793829:

Michael Hudson-Doyle michael.hudson at canonical.com
Mon Jul 27 23:22:06 UTC 2015


Here's a patch which fixes things in my testing.
-------------- next part --------------
diff -Nru gocode-20150303/debian/changelog gocode-20150303/debian/changelog
--- gocode-20150303/debian/changelog	2015-05-27 21:25:48.000000000 +0000
+++ gocode-20150303/debian/changelog	2015-07-27 22:58:17.000000000 +0000
@@ -1,3 +1,9 @@
+gocode (20150303-3) unstable; urgency=medium
+
+  * Fix packaging stuff.
+
+ -- Michael Hudson-Doyle <mwhudson at glamdring>  Mon, 27 Jul 2015 22:57:38 +0000
+
 gocode (20150303-2) unstable; urgency=medium
 
   * Remove vim-syntax-go from vim-gocomplete dependency list (Closes: #786891)
diff -Nru gocode-20150303/debian/gocode.install gocode-20150303/debian/gocode.install
--- gocode-20150303/debian/gocode.install	2014-06-22 19:39:07.000000000 +0000
+++ gocode-20150303/debian/gocode.install	2015-07-27 22:56:48.000000000 +0000
@@ -1 +1 @@
-gocode usr/bin
+usr/bin/gocode usr/bin
diff -Nru gocode-20150303/debian/rules gocode-20150303/debian/rules
--- gocode-20150303/debian/rules	2015-04-03 20:32:22.000000000 +0000
+++ gocode-20150303/debian/rules	2015-07-27 22:54:56.000000000 +0000
@@ -1,16 +1,12 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-export GOPATH=`pwd`
 
 export DH_GOPKG := github.com/nsf/gocode
 
 %:
 	dh $@ --buildsystem=golang
 
-override_dh_auto_build:
-	go build -o gocode $(filter-out os_windows.go,$(wildcard *.go))
-
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f gocode


More information about the Pkg-go-maintainers mailing list