Updated spec file to use operatingsystemmajrelease