jordansissel/fpm — pull request #293 by justintime (2012-11-27 00:17:08+00:00)
Title: Include subdirs of --directories option as %dir directives in SPEC files

This is an extension of the support introduced in pull #260 and resolves the remaining issues in #245 and #199.

I am not a ruby coder, so I'm sure this could be cleaner, but it seems to work in all situations that I could throw at it. I'm more than willing to take some tips on how to make it better.