On 06/10/2015 05:54 AM, Emmanuel Bourg wrote: > Le 10/06/2015 14:48, Markus Koschany a écrit : > >> It is probably sufficient to add a versioned dependency on >> libplexus-compiler-java (>= 2.4) but I would also take a closer look at >> the Provides field. > > I don't know if a versioned dependency will work. If > libplexus-compiler-java is now considered as a virtual package it can't > be versionned.
I haven't tried this yet, but it appears that dpkg added versioned support for virtual packages to unstable last August - quoting from [1] > * Add versioned Provides support: > - Add a new dpkg --assert-versioned-provides command. > - Packages can provide a specific version, “virtual (= 1.0)” which will > be honored, previously it would just be accepted when parsing. > - Non-versioned virtual packages will not satisfy versioned dependencies. > - Versioned virtual packages will satisfy non-versioned dependencies. > Based on skeletal code by Ben Collins <bcoll...@debian.org>. > Closes: #7330, #24934, #112131, #134582, #180316 Cheers, tony [1] https://tracker.debian.org/news/562962
signature.asc
Description: OpenPGP digital signature