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:
parent
71355c6f13
commit
838d5609ca
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgname=mobile-config-firefox
|
pkgname=mobile-config-firefox
|
||||||
pkgver=1.0.1
|
pkgver=1.0.1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Firefox tweaks for mobile and privacy"
|
pkgdesc="Firefox tweaks for mobile and privacy"
|
||||||
url="https://gitlab.com/postmarketOS/mobile-config-firefox"
|
url="https://gitlab.com/postmarketOS/mobile-config-firefox"
|
||||||
source="
|
source="
|
||||||
|
@ -11,7 +11,7 @@ arch="noarch"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
options="!check" # No tests
|
options="!check" # No tests
|
||||||
replaces="postmarketos-config-firefox"
|
replaces="postmarketos-config-firefox"
|
||||||
provides="postmarketos-config-firefox"
|
provides="postmarketos-config-firefox=$pkgver"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
|
Loading…
Reference in a new issue