Fix automatic generater RPM using cPack
Merge pull request #375 from xyz32/RPM_CPack_Fix

Fix automatic generater RPM using cPack