mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 15:33:28 +00:00
abuild: use versioned depends for -dev subpackage
This commit is contained in:
parent
1606a8b31e
commit
ad50945d80
@ -1251,11 +1251,11 @@ doc() {
|
||||
# predefined splitfunc dev
|
||||
default_dev() {
|
||||
local i= j=
|
||||
depends="$pkgname $depends_dev"
|
||||
depends="$pkgname=$pkgver-r$pkgrel $depends_dev"
|
||||
pkgdesc="$pkgdesc (development files)"
|
||||
|
||||
for i in $origsubpackages; do
|
||||
[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}"
|
||||
[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}=$pkgver-r$pkgrel"
|
||||
done
|
||||
|
||||
cd "$pkgdir" || return 0
|
||||
|
Loading…
Reference in New Issue
Block a user