If there was a symlink to a directory fpm was incorrectly marking this
as a directory in the spec file and rpmbuild was erroring out.  This
fixes that by checking for symlinks and not adding them to the directory
list.
fix annoying rspec warnings
Merge pull request #522 from hatt/master

fix rspec deprecation warnings
Merge pull request #521 from nhuff/rpm_dir_fix

fpm creating invalid spec with symlinks to directories.