[CentOS-devel] perl-devel package

Kenneth Porter shiva at sewingwitch.com
Mon Aug 4 20:49:24 UTC 2008


On Thursday, July 31, 2008 12:29 AM +0300 Manuel Wolfshant 
<wolfy at 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.

<https://bugzilla.redhat.com/show_bug.cgi?id=457334>



More information about the CentOS-devel mailing list