Skip to content
  • Lubomir Rintel's avatar
    contrib/rpm: Count all predecessors in revision number · 479dd171
    Lubomir Rintel authored and Thomas Haller's avatar Thomas Haller committed
    The revision number of the RPM (as build by contrib/rpm) should
    be increasing so that newer packages can be installed using
    `yum install` and older packages can be downgraded using
    `yum downgrade`.
    By counting only --first-parent, the following example turns
    out wrong. Note the duplicate revision numbers.
    
      -- A(100)----------------------------F(101)----G(102)
          \                               /
           B(101)----C(102)----D(103)----E(104)
    
    Just count *all* parent commits
    479dd171