Skip to content

Commit 711d97b

Browse files
committed
Remove 01-Update-the-import-path-of-golang-github-google-go-github.patch
and use debian/rules to strip off major version (e.g. v60) from github.com/google/go-github/v60/github instead.
1 parent c71f3cc commit 711d97b

File tree

3 files changed

+3
-35
lines changed

3 files changed

+3
-35
lines changed

debian/patches/01-Update-the-import-path-of-golang-github-google-go-github.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

debian/patches/series

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ execute_after_dh_auto_configure:
99
# golang.org/x/tools/go/vcs v0.1.0-deprecated
1010
ln -s $(CURDIR)/debian/go/src \
1111
_build/src/github.com/Debian/dh-make-golang/vendor
12+
# github.com/google/go-github/github (with Go modules disabled)
13+
sed -i -e 's#go-github/v[0-9]\+/github#go-github/github#' \
14+
_build/src/github.com/Debian/dh-make-golang/main.go
1215

1316
override_dh_auto_install:
1417
dh_auto_install -- --no-source

0 commit comments

Comments
 (0)