Package EVR problems in FC+FE 2007-03-22

Michael Schwendt bugs.michael at gmx.net
Fri Mar 23 10:23:34 UTC 2007


On Thu, 22 Mar 2007 20:34:02 -0400 (EDT), buildsys wrote:

> limb AT jcomserv.net:
>     ettercap
>       FE5 > FE6 (0:0.7.3-13.3.fc5 > 0:0.7.3-12.fc6)
>       FE5 > FE7 (0:0.7.3-13.3.fc5 > 0:0.7.3-12.fc7)
>     
>     gnubg
>       FE5 > FE7 (0:20061119-8.fc5.2 > 0:20061119-7.fc7)
>       FE6 > FE7 (0:20061119-8.fc6 > 0:20061119-7.fc7)
>     
>     xmoto-edit
>       FE5 > FE6 (0:0.2.4-6.1.fc5 > 0:0.2.4-6.fc6)
>       FE5 > FE7 (0:0.2.4-6.1.fc5 > 0:0.2.4-6.fc7)
>     
> miker5slow AT grandecom.net:
>     etherape
>       FE5 > FE6 (0:0.9.7-4.1.fc5 > 0:0.9.7-4.fc6)
>       FE5 > FE7 (0:0.9.7-4.1.fc5 > 0:0.9.7-4.fc7)

The issues with "ettercap", "xmoto-edit" and "etherape" are one of the
infamous problems when adding a %dist tag.

In RPM Version Comparison, numbers are higher than letters. When comparing
different packages with eachother, the %dist tag must be at the same
position in the %release tag for all package releases, so the dist value
is only compared with other dist values.

etherape
  4.1.fc5 > 4.fc6  because 4 = 4 but 1 > fc6

xmoto-edit
  6.1.fc5 > 6.fc6   because 6 = 6 but 1 > fc6 

ettercap
  13.3.fc5 > 12.fc6   would need a bump to 14.fc6, since:
  13.3.fc5 > 13.fc6   because 13 = 13 but 3 > fc6


You can verify your versions with fedora-rpmvercmp when you are
unsure:

$ rpm -qf $(which fedora-rpmvercmp)
rpmdevtools-5.3-1.fc6

$ fedora-rpmvercmp 
Epoch1 :0
Version1 :1
Release1 :13.3.fc5 
Epoch2 :0
Version2 :1
Release2 :13.fc6
0:1-13.3.fc5 is newer

$ fedora-rpmvercmp 0 1 4.1.fc5   0 1 4.fc6
0:1-4.1.fc5 is newer

$ fedora-rpmvercmp 0 1 4.fc5.1   0 1 4.fc6
0:1-4.fc6 is newer




More information about the Fedora-maintainers mailing list