fix problematic rpm packaging