The module should be able to inject requires (and provides) dependencies into the built RPM. In particular, adding "redhat-release = 6" as a requires will allow the built package to be tied to a specific distribution release version.