[Fedora-packaging] Conflicts Draft Proposal

Tom 'spot' Callaway tcallawa at redhat.com
Tue Dec 5 19:22:00 UTC 2006


On Tue, 2006-12-05 at 19:50 +0100, Enrico Scholz wrote:
> tcallawa at redhat.com ("Tom 'spot' Callaway") writes:
> 
> > I drafted a proposal for when it is ok to use Conflicts: (almost never):
> >
> > http://fedoraproject.org/wiki/PackagingDrafts/Conflicts
> 
> The statement
> 
> | My package, foo-game doesn't work when bar is older than 1.2.3.
> | WRONG: Conflicts: bar < 1.2.3
> | RIGHT: Requires: bar >= 1.2.3
> 
> is wrong and should be the opposite. There should not be added a Requires:
> when package 'foo' works without 'bar' but fails with 'bar < 1.2.3'.

The example is poor in that aspect. If you assume that foo-game needs
bar, but will not work with older versions of bar (this is the normal
case), then the example holds. I'll update the wording to reflect this.

~spot




More information about the Fedora-packaging mailing list