- In rpm < 4.2.1 zero epoch isn't the same as non-existent epoch, we can't
authorpmatilai <pmatilai>
Mon, 15 May 2006 16:02:20 +0000 (16:02 +0000)
committerpmatilai <pmatilai>
Mon, 15 May 2006 16:02:20 +0000 (16:02 +0000)
commit6478fbf0b2ab3a0ab25fc251f596ba217174b73a
treed430b3e3cbeadf9d295a09d7c298e4bf9ff56f3b
parent4df81132abe6d01a45c0df18f321e110e24f6b62
- In rpm < 4.2.1 zero epoch isn't the same as non-existent epoch, we can't
  but blindly assume a patched createrepo not adding false zero epochs was
  used and treat everything as is. With newer rpm's we can deal with the
  zero-epoch silliness but they need to be treated uniformly everywhere
  to keep apt's version bookkeeping in order, so we remove them. The other
  alternative of *adding* zero epochs everywhere is slightly more complex,
  looks uglier and causes some script breakage (although the scripts could
  be considered broken as well).
apt-pkg/rpm/rpmhandler.cc