jordansissel/fpm — pull request #177 by aconchillo (2012-03-21 01:52:27+00:00)
Title: fix issues when packaging links in dir package and rpm template

* lib/fpm/package/dir.rb: File.directory? returns true if source is a
link to a directory. This is not the desired behavior, a link should
be kept as a link, whether it is a link for a file or a directory.

* templates/rpm.erb: check whether we are copying a link, if so, only
copy the link not a new file. For the same reason as lib/fpm/package/dir.rb,
links to directories were rejected. So, do not reject links to directories.