Fixes #5978: RPM complains about missing files for ghost files
Merge pull request #565 from peckpeck/bug_5978/rpm_complains_about_missing_files_for_ghost_files

Fixes #5978: RPM complains about missing files for ghost files