include/package-pack: drop version from provides
authorPaul Spooren <mail@aparcar.org>
Sun, 27 Oct 2024 15:36:33 +0000 (16:36 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:55 +0000 (00:07 +0100)
commit03e05253259cbdf5696d81f458dbfddb4530c758
tree68e6936adadf89c221367c39eb2a1cdf21676595
parent0357372896b784b6eb4010b479a9714413ec44e0
include/package-pack: drop version from provides

Adding a version to the provides causes it to conflict with other
packages that provides the same package, further details are available
here: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/doc/apk-package.5.scd#L199

This was intitally done, if I remember correctly, to support depending
on the specific kernel modules. Due to patches to APK, versions
containing hashes work now, too, so this is no longer required.

Only add the version to packages that define an ABI version since other
packages depend against the package name plus ABI version.

While at it, format the now rather complex call.

Fixes: https://github.com/openwrt/openwrt/issues/16795
Signed-off-by: Paul Spooren <mail@aparcar.org>
include/package-pack.mk