Re: F25 System Wide Change: Removing Perl from Build Root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-04-15, Florian Weimer <fweimer@xxxxxxxxxx> wrote:
> On 04/15/2016 11:34 AM, Jan Kurik wrote:
>> This change aims to removing Perl from minimal build root.
>
> What's the canonical dependency to add if you run simple Perl scripts 
> during build?  Just this?
>
> BuildRequires: perl
>
Yes. If you only need to run a Perl script that does not use any Perl
modules, "perl" is enough.

If the script uses some modules like "use ExtUtils::MakeMaker;" or even
"use strict;" you have to specify them also as
"perl(ExtUtils::MakeMaker)" or "perl(strict)". There is an excelent
"tangerine" tool can help you to find them in the script. It's more
advanced (and slower and bigger) then the generarators called from
rpmbuduild.

-- Petr
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux