Commit 02652f5d authored by Ariadne Conill's avatar Ariadne Conill Committed by Kevin Daudt
Browse files

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
parent ba127ff4
Pipeline #96284 passed with stage
in 46 seconds
......@@ -1488,7 +1488,8 @@ trace_apk_deps() {
>> "$dir"/.PKGINFO
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
if [ -f "$dir"/.provides-py ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment