I'm writing a spec file for software that depends on php-mcrypt. My target OS is CentOS 6.5 php-mcrypt isn't in the CentOS repositories, but it is in EPEL. Is there a better way to satisfy this dependency on the Requires: line rather than manually installing EPEL in %pre? I really don't like the idea of forcing the install of another repo in an RPM, but I also don't like it when RPMs fail to install over a dependency that doesn't seem to exist until someone gets clever enough to start searching through various foreign repos.
What's the best way to handle this?