summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-16 09:30:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-16 09:30:09 +0000
commitad50945d80451fccbbdc474ae84234b893834024 (patch)
tree86fa192e04da17ad35bf56b6fc73410666952e8f /abuild.in
parent1606a8b31efb17a56d3b903d679ca1f57f9d0db8 (diff)
downloadabuild-ad50945d80451fccbbdc474ae84234b893834024.tar.gz
abuild-ad50945d80451fccbbdc474ae84234b893834024.tar.bz2
abuild-ad50945d80451fccbbdc474ae84234b893834024.tar.xz
abuild-ad50945d80451fccbbdc474ae84234b893834024.zip
abuild: use versioned depends for -dev subpackage
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 479cd6c..3fdae0b 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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