Status of weak dependencies support in Fedora 21+

Michal Sekletar msekleta at redhat.com
Mon Nov 10 12:16:58 UTC 2014


On Mon, Nov 10, 2014 at 10:45:05AM +0100, Jan Zelený wrote:
<snip>
> However, what I'm not sure about is whether it's already possible to build 
> weak-deps enhanced rpms in Fedora, has someone tested that? I've heard it's 
> possible in COPR but I'm not sure about koji.

I tested this and building weak-deps enhanced package in Koji worked for me as
expected, maybe by pure luck though.

Michal

> 
> > > I have a real-world example where I'd like to mark a dependency as
> > > Suggests instead of Requires and want to know if dnf is ready to
> > > process it?
> > 
> > I played with Recommends in one case and it actually worked as expected.
> > Even package uninstalls and updates honored the dependency semantics as
> > expected. However I think it is because libsolv's logic and not some
> > explicit handling in dnf.
> 
> Yeah, that's the sweet part. There needs to be some level of support in the 
> layers above but ultimately libsolv is the key part when it comes to weak 
> deps.
> 
> [1] http://devconf.cz/
> 
> Thanks
> Jan


More information about the devel mailing list