On Tue, May 17, 2016 at 09:06:11AM +0200, Petr Pisar wrote: > 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. > [...] > > 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. > I finished my spec file editor and a dispatcher for calling it for thousands of packages. I also computed lists of package that should build-require the new dependencies: Packages requiring or providing a Perl module: 3292 packages Packages requiring libperl.so: 491 packages The first set should build-require perl-generators. The second set should build-require perl-devel. After running the editor, it was discovered that 3129 packages must be edited to add missing dependency on perl-devel or perl-generators. I was pondering how to identify packages that should build-require perl and I concluded that it's not easy (perl(:MODULE_COMPAT) constructor is easy, %build section with /^perl / line feasible, but the rest is very fuzzy). At the end, many packages depending on perl-generators will get perl into build root either. So I decided to skip adding "perl" dependency automatically. I reviewed some random packages and the edited changes are correct. But it's not possible to review all them manually. To be sure the changes do not cause any serious problems, I will rebuild the 3292 changed packages locally. After that, I will reset the packages to current dist-git content, run the editor on them again and push the changes. I think pushing the changes will happen in the end of June. -- Petr
Attachment:
signature.asc
Description: PGP signature
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx