[CentOS-devel] perl-devel package
Jeroen van Meeuwen
kanarip at kanarip.com
Mon Aug 4 21:44:45 UTC 2008
Kenneth Porter wrote:
> 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>
Awesome attitude from Mister Joe. I'll take it. Let's get it over with.
-Jeroen
More information about the CentOS-devel
mailing list