Refs #2542 - Modify .spec file in order to handle all versions instead of using patches. Fix patch for debian which was patching in the wrong way