jordansissel/fpm — pull request #283 by aerickson (2012-10-29 22:55:45+00:00)
Title: adding a --deb-patch-version option

allows setting a patch version when outputting
debs from a source that overloads the use of
the version string (like gem - which uses it as
the version to fetch as well)

///

Background: We publish debs based on gems... and the -v option when using a gem source specifies the version to fetch (so we can't inject the patch version there). This allows us to set a patch version.

```
$ fpm -s gem -t deb --deb-patch-version acmebuild-9 solve
Successfully installed solve-0.3.1
1 gem installed
Created deb package {"path":"rubygem-solve_0.3.1-acmebuild-9_all.deb"}
$
```