On Mon, Apr 9, 2012 at 5:44 PM, oliver <[email protected]> wrote:
> When I use > http://aur.archlinux.org/packages.php?ID=31429 > to create vala, it builds vala 0.16.0, > but the package says it provides "vala=0.14.2". > > Not sure how such a PKGBUILD must be handled. > If it says it provides "vala=0.14.2" but > just downloads the current version via git, > then the provides-entrx is not correct. > > It willö then provide always the newest version. > > How to handle this in a package? > Is the PKGBUILD > http://aur.archlinux.org/packages/va/vala-git/PKGBUILD > correct, or not? > > Does a provides-entry make any sense, if there always is the > current stuff that is downloaded? > > If the package PKGBUILD says, that it provides > vala=0.14.2, then it should only clone the git sources for that > certain vala version. > > So I rather think the PKGBUILD is wrong here. > This provides is wrong. I would put provides vala=0.18 and update it whenever upstream bump version. I think the current provides has been put to work "nicely" with packages having a dependency on specific vala version. Does not seem a good idea though, versionned dependencies are usually put there for a reason. -- Cédric Girard
