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