makedeb


go-bin 1.20.1-1


The Go programming language

Click here to go back to the commit logs for go-bin.

Commit:


Hash: 29d35174d1adae13d3cdfae8757bec21ccf25d8e

Message: Fixed 'provides' array to specify versions of provided packages Without the version specification, stuff like depends=('golang-go>=1.16') wouldn't be covered.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 2568ef8..6888c1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,11 +3,11 @@ generated-by = makedeb-makepkg
 pkgbase = go-bin
 	pkgdesc = The Go programming language
 	pkgver = 1.17.5
-	pkgrel = 2
+	pkgrel = 3
 	url = https://go.dev/
 	arch = x86_64
-	provides = golang-go
-	provides = gccgo-go
+	provides = golang-go=1.17.5
+	provides = gccgo-go=1.17.5
 	conflicts = golang-go
 	conflicts = gccgo-go
 	noextract = go-bin-1.17.5.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 54c5198..6f405e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
 pkgname=go-bin
 pkgver=1.17.5
-pkgrel=2
+pkgrel=3
 pkgdesc="The Go programming language"
 arch=('x86_64')
 conflicts=('golang-go' 'gccgo-go')
-provides=('golang-go' 'gccgo-go')
+provides=("golang-go=${pkgver}" "gccgo-go=${pkgver}")
 options=('!strip')
 noextract=("${pkgname}-${pkgver}.tar.gz")
 url="https://go.dev/"