Dependency loops considered harmful?

Michael Schwendt mschwendt at gmail.com
Wed Sep 3 19:31:50 UTC 2008


On Wed, 03 Sep 2008 21:27:26 +0200, Hans de Goede wrote:

> > game-0.8  Requires  game-data = 0.8
> > game-data-0.8  Requires  game    (which version? and why?)
> > 
> > Case 1) 
> > game-data-0.8  Requires  game = 0.8
> > What happens if game-1.0 is released with unchanged game-data?
> > Then you need to update game-data for nothing else than the broken dep.
> > 
> > Case 2)
> > game-data-0.8  Requires  game
> > No version. Hence no dep breakage in all cases where you may update game
> > without updating game-data. Instead, a strict dependency is installed
> > in pkg game:  game-%{version}  Requires  game-data = %{SOME_version}
> > Here you can control the game-data version within pkg "game".
> > 
> 
> PLease take an actual look at game spec files before making up all kinds of BS, 

No reason for such language.

> its really easy:
> 
> game Requires game-data = %{needed_data_version}
> game-data Requires game >= %{first game version which uses this data}

It doesn't explain why you need the dependency in game-data, as you only
need it for yum remove -- and "yum install game-data" to pull in the game
program.




More information about the fedora-devel-list mailing list