On Thu, Mar 31, 2016 at 03:10:26PM +0200, Petr Pisar wrote:
Fedora's minimal build root contains perl. There is a reasonable
request
<
https://bugzilla.redhat.com/show_bug.cgi?id=1158860> to
remove the perl in order to minimize the build root.
[...]
I'd like to hear if this approach (adding "BuildRequires:
perl-generators"
everywhere) is fine. For example, a spec file for architecture specific
package would need:
BuildRequires: perl for "perl Makefile.PL"
BuildRequires: perl-devel for building XS code
BuildRequires: perl-generators for generating dependencies
BuildRequires: perl-macros for %?perl_default_filter
For your information, FESCo approved the removal
<
https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> and FPC
approved the new Perl packaging guidelines
<
https://fedoraproject.org/wiki/Packaging:Perl>.
The new guidelines differ from the above mentioned proposal in the perl-macros
dependency. The perl-macros will be provided by installing perl-generators
_implicitly_. You will not have to declare this dependency explicitly.
Once upgrading Perl to 5.24 finishes and I finish my spec editor, I will test
some local scratch builds and then I publish the changes (injecting perl,
perl-generators and perl-devel where appropriate) into dist-git.
-- Petr