1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/abuild: fix *replaces* doc in APKBUILD(5)

This commit is contained in:
Sertonix 2025-04-19 00:05:34 +02:00 committed by Natanael Copa
parent 6a6fa6a0d8
commit 8ec2c28a49
2 changed files with 21 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=abuild
pkgver=3.15.0
pkgrel=1
pkgrel=2
pkgdesc="Script to build Alpine Packages"
url="https://gitlab.alpinelinux.org/alpine/abuild/"
arch="all"
@ -36,6 +36,7 @@ pkggroups="abuild"
source="https://gitlab.alpinelinux.org/alpine/abuild/-/archive/$pkgver/abuild-$pkgver.tar.gz
cargo-target.patch
cmake-generator.patch
replaces.patch
"
builddir="$srcdir"/abuild-$pkgver
@ -123,4 +124,5 @@ sha512sums="
b0d33e117a96692173b99145f7c14b5826639e3d5627219871b054a3fca6d39790d324058df4880fe21bf5bdc856d35540810ff161683c30bafe6f6d296a9559 abuild-3.15.0.tar.gz
fbb44d871d57f31f1e94f0b7a1daed8bd86e2312c6c7a68dd599e71836b7fbc6e1159e865ce464c58f7fa2292adba3ab73ad90bd5b1a274f0ba8886108842f8a cargo-target.patch
c88527a3ad9920254cf218c28558a10564288a8cd348ef3d115c75d9a57bfd41d7a5b8979950bcff8b46efaa046f1d900c83db0bb61731804892a9413f66b090 cmake-generator.patch
cfd35e2ff55c3d24ffe1ed6d5427bc3a9d33f83b340e001d84d57e9ed8de66a1fc6600d634f914a2a26a8b6545a5ba6255ca828b09c80d5d1ef8a893f374c8bb replaces.patch
"

View file

@ -0,0 +1,18 @@
Old description was incorrect and apk3 doesn't need replaces anymore
when renaming packages.
Ref https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/304
--- a/APKBUILD.5.scd
+++ b/APKBUILD.5.scd
@@ -174,8 +174,8 @@ file.
virtual provider.
*replaces*
- Specifies packages that the package replaces. This is typically
- used for packages renamed by upstream.
+ Specifies packages that the package should replace files from when
+ both are installed.
*replaces_priority*
Specifies the numeric value that is used by apk(8) when multiple