Re: Status of weak dependencies support in Fedora 21+

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

 



On Sat, Nov 08, 2014 at 09:54:35PM +0400, Peter Lemenkov wrote:
> Hello All!
> RPM shipped with Fedora 21+ has support for weak dependencies. What's
> the current status of that feature? Is it ok to start using them
> (building RPM with Recommends/Suggests tags)?

I don't think it is ok to start using them for now. We don't have any packaging
guidelines on their usage.

> 
> 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.

Michal

> 
> -- 
> With best regards, Peter Lemenkov.
> -- 
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux