mirror of
https://github.com/jordansissel/fpm
synced 2025-11-12 18:42:07 +01:00
(note: fpm calls 'iteration' what rpm calls 'release')
rpmbuild will reject the `Release` tag containing a dash with the
following error (via fpm --verbose):
```
error: line 41: Illegal char '-' (0x2d) in: Release: 1-1 {:level=>:info}
Process failed: rpmbuild failed (exit code 1).
```
This patch copies the dash-to-underscore operation that is already
applied to the version field.
Adds tests for both iteration and version field.
Fixes: #1833
|
||
|---|---|---|
| .. | ||
| fpm | ||
| fpm.rb | ||