From 1c2246e709d8669faeb035df6a2470861239d48b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 19 Nov 2024 04:37:20 -0600 Subject: add Conflicts: --- examples/protoc-gen-go/Makefile | 4 ++++ examples/protoc-gen-go/build | 4 ++-- examples/protoc-gen-go/control | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/protoc-gen-go/Makefile b/examples/protoc-gen-go/Makefile index d28f0e1..f2853e0 100644 --- a/examples/protoc-gen-go/Makefile +++ b/examples/protoc-gen-go/Makefile @@ -5,6 +5,10 @@ all: build build: go-deb --repo . +# keep the files/ directory after the package is made +keep-files: + go-deb --keep-files --repo . + # use the ncurses gui (only kinda works still) ncurses: go-deb --gui gocui --repo . diff --git a/examples/protoc-gen-go/build b/examples/protoc-gen-go/build index f8e2b06..2b19bb6 100755 --- a/examples/protoc-gen-go/build +++ b/examples/protoc-gen-go/build @@ -4,7 +4,7 @@ # # go-clone google.golang.org/protobuf # cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go -# go install +# go build mkdir -p files/usr/bin -cp ~/go/bin/protoc-gen-go files/usr/bin +cp ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go/protoc-gen-go files/usr/bin/ diff --git a/examples/protoc-gen-go/control b/examples/protoc-gen-go/control index c1090d5..e0b826a 100644 --- a/examples/protoc-gen-go/control +++ b/examples/protoc-gen-go/control @@ -5,9 +5,10 @@ Maintainer: Jeff Carr Packager: Jeff Carr Architecture: amd64 Depends: protobuf-compiler +Conflicts: protoc-gen-go, protoc-gen-go-1-3, protoc-gen-go-1-5 URL: https://go.wit.com/ Recommends: -Version: 0.0.3 +Version: 1.35.1-devel Description: protoc-gen-go from google.golang.org/protobuf You need this one until the debian sid packages are updated I didn't change anything, it's a straight build from the sources. -- cgit v1.2.3