18273 - The redhat packager should add itteration to the requirements of common packages

When packaging plugins into RPMs the dependencies on the common package
do not have the iteration.

This commit adds the iteration number to the dependency version in both
the rpm and deb templates.