Kenneth Porter wrote:
On Thursday, July 31, 2008 12:29 AM +0300 Manuel Wolfshant wolfy@nobugconsulting.ro wrote:
Wrong approach. Apply Johnny's advice. Or be polite and modify the spec to distinguish between building on fedora >=7 or on Centos (RHEL). Something along the following line should do:
%if 0%{?fedora} > 6 BuildRequires perl-devel %else BuildRequires perl %endif
I supplied this as a proposed patch to Rawhide and was told that:
Raw Hide spec files are not designed to be built on any distro other than Raw Hide; you need to fork the spec and keep distro-specific hacks in the fork.
yea, we know ... hence the centos project is supporting rpmrepo and not epel