main/mobile-config-firefox: add pkgver to provides (MR 1507)

Fix mobile-config-firefox not replacing postmarketos-config-firefox on
upgrade. Without the pkgver in provides, apk only considers
mobile-config-firefox as virtual package name, not as replacement.

Verified with the CE factory image:

	$ sudo apk upgrade
	...
	(20/29) Purging postmarketos-config-firefox (1-r0)
	(21/29) Installing mobile-config-firefox (1.0.1-r1)
	...
This commit is contained in:
Oliver Smith 2020-08-28 11:08:36 +02:00
parent 71355c6f13
commit 838d5609ca
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,6 +1,6 @@
pkgname=mobile-config-firefox
pkgver=1.0.1
pkgrel=0
pkgrel=1
pkgdesc="Firefox tweaks for mobile and privacy"
url="https://gitlab.com/postmarketOS/mobile-config-firefox"
source="
@ -11,7 +11,7 @@ arch="noarch"
license="GPL-3.0-or-later"
options="!check" # No tests
replaces="postmarketos-config-firefox"
provides="postmarketos-config-firefox"
provides="postmarketos-config-firefox=$pkgver"
prepare() {
default_prepare