Invalid RPM version strings when version contains multiple '-'
Invalid RPM version strings when version contains multiple '-': a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). nfpm can produce RPMs with an invalid verison field. This happens when the version contains multiple hyphens, e.g…
The task
nfpm can produce RPMs with an invalid verison field. This happens when the version contains multiple hyphens, e.g. `1.2.3-alpha-beta-gamma`. nfpm will identify `alpha-beta-gamma` as the prerelease and correctly join it with the version using a tilde, producing `1.2.3~alpha-beta-gamma`. However, this version is…