From 838d5609ca328ed038147cf10da1ba83bfc8912b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 28 Aug 2020 11:08:36 +0200 Subject: [PATCH] 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) ... --- main/mobile-config-firefox/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/mobile-config-firefox/APKBUILD b/main/mobile-config-firefox/APKBUILD index 1d3502358..d42a08fd0 100644 --- a/main/mobile-config-firefox/APKBUILD +++ b/main/mobile-config-firefox/APKBUILD @@ -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