jordansissel/fpm — pull request #123 by ohookins (2011-11-17 08:11:27+00:00)
Title: Allow --inputs to actually work.

Obviously this can go one of two ways:
1. Get rid of the extra variable and use the source hash (which I've done)
2. Forget about the :inputs pair in the source hash and use the extra variable inputs_path.

It seems to me that perhaps there is reason to allow the individual targets access to the file path inputs (if not now, maybe in the future) so I've chosen the first option.

I've tested and it actually works at least, with one caveat. All files in the file path need to have their leading / stripped (which is contrary to the %files section in an RPM spec file, but the same as the .install file in a DEB). Perhaps to be more universal, fpm should strip the leading / out automatically but I'll leave that for your discussion and a later pull request ;)