Centos 7 won't work with operatingsystemrelease 7.0

Centos 7 operatingsystemrelease is 7.0.1406 for example so switching to operatingsystemmajrelease would allow for 7 to be used for all EL7 products