Use versioned dependencies in the RPM spec file

fixes #7017
Merge branch 'support/1.11' into next