https://bugzilla.redhat.com/show_bug.cgi?id=851734
--- Comment #2 from Bill Pemberton wfp5p@virginia.edu --- There's no way this will work on EPEL 5, as it requires regular expression syntax that was introduced in perl 5.10.
I didn't use cpanspec directly, but used another specfile as a template. The template is from a package does build for RHEL 5 (and probably started life from cpanspec). I forgot to remove BuildRoot.
Updated to remove BuildRoot:
Spec URL: http://wfp.fedorapeople.org/perl-Regexp-Grammars.spec SRPM URL: http://wfp.fedorapeople.org/perl-Regexp-Grammars-1.021-2.fc17.src.rpm