[Fedora-packaging] Re: Versioned weak dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Jan 2016 22:05:04 -0500
Shawn Iwinski <shawn.iwinski@xxxxxxxxx> wrote:

> I forgot about this over the US holiday.  Any ideas?
> 
> On Fri, Dec 25, 2015 at 10:10 PM, Shawn Iwinski
> <shawn.iwinski@xxxxxxxxx> wrote:
> > How are versioned weak dependencies handled?  Can I
> > "Suggests"/"Recommends" min and max versions or can I only supply
> > the main package and use "Conflicts" to enforce version ranges?
> >
> > For example:
> >
> >     Suggests: pkg >= 1.0
> >     Suggests: pkg < 2.0
> >
> > or
> >
> >     Suggests: pkg
> >     Conflicts: pkg < 1.0
> >     Conflicts: pkg >= 2.0

it can be done slightly differently

add Provides: pkg(1x) to the pkg spec file for all versions >=1.0 and <
2.0 (then bump to pkg(2x)). And then just use Suggests: pkg(1x) in foo.


		Dan
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux