abuild: version cmd: providers
The default provider priority is 0, which disables the normal way apk selects an unversioned virtual dependency. Instead, version the provider so that cmd: dependencies can be robustly used like normal dependencies.
This commit is contained in:
parent
ba127ff45c
commit
02652f5dd6
|
@ -1488,7 +1488,8 @@ trace_apk_deps() {
|
|||
>> "$dir"/.PKGINFO
|
||||
fi
|
||||
if [ -f "$dir"/.provides-command ]; then
|
||||
sed 's/^/provides = cmd:/' "$dir"/.provides-command | sort -u \
|
||||
sed -e 's/^/provides = cmd:/' -e "s/\$/=$pkgver-r$pkgrel/" \
|
||||
"$dir"/.provides-command | sort -u \
|
||||
>> "$dir"/.PKGINFO
|
||||
fi
|
||||
if [ -f "$dir"/.provides-py ]; then
|
||||
|
|
Loading…
Reference in New Issue