Perl packaging guidelines

Marcela Mašláňová mmaslano at redhat.com
Wed Jul 10 17:45:19 UTC 2013


On 07/09/2013 09:54 AM, Petr Šabata wrote:
>>> > >Second, the %{__perl} macro.
>>> > >What are the benefits of using this (subjectively) ugly macro
>>> > >compared to simple 'perl'?  The only case in which I find it
>> >
>> >Isn't it used for SCL, for example?
> I honestly have no idea.  Could someone with some SCL experience
> comment on this?
>
>> >
I guess Jitka would know for sure.

I think it doesn't matter because the ugly %{__perl} will use 
environment setting and perl will use the current perl. What I see in 
specfiles will use in both cases the perl from scl:
%{?scl:scl enable %{scl} '}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{?scl:'}

Marcela





More information about the perl-devel mailing list