abuild: add version number to provides

So it is not treated as a special 'virtual'
We use version number 0 for now.
This commit is contained in:
Natanael Copa 2012-09-05 08:10:13 +00:00
parent 76e93e602f
commit 7ca99d75b3

View File

@ -921,7 +921,7 @@ trace_apk_deps() {
echo "# automatically detected:" >> "$dir"/.PKGINFO
if [ -f "$dir"/.provides-so ]; then
sed 's/^/provides = /' "$dir"/.provides-so >> "$dir"/.PKGINFO
sed 's/^\(.*\)/provides = \1=0/' "$dir"/.provides-so >> "$dir"/.PKGINFO
fi
[ -z "$autodeps" ] && return 0
for i in $autodeps; do