1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-23 03:04:34 +02:00
fpm/spec
Jordan Sissel aaa4218178 rpm: Replace dash with underscore.
(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
2021-09-22 00:05:00 -07:00
..
acceptance/puppet/manifests Start work for acceptance tests. 2016-05-23 11:28:51 -07:00
conversion Allow versions in Provides field for Debian packages 2021-07-06 14:25:06 -07:00
fixtures Add tests for python PEP0508 tags 2018-04-14 19:55:08 -07:00
fpm rpm: Replace dash with underscore. 2021-09-22 00:05:00 -07:00
spec_setup.rb Added ruby 2.5 to the build matrix (#1532) 2018-10-15 21:14:04 -07:00