bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
212 stars 166 forks source link

pkg_rpm does not support the rpm 'Epoch' field #857

Closed TvdW closed 2 months ago

TvdW commented 2 months ago

The Epoch rpm field allows replacing a package with a similarly named package and 'reset' the versioning by inserting a 1: at the start. This allows a 0.0.1 version to be considered than 2.0.0, if the epoch is higher (eg. 1:0.0.1 > 2.0.0).