+1 Since I care about embedded and containers, having a smaller minimal build root is high on my list. As a perl module maintainer, I don't mind adding a few lines to my spec files to achieve this. Especially since you are updating the guidelines to provide clear guidance. --Tim (Intel) On Thu, Mar 31, 2016 at 6:43 AM, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > On 31/03/16 14:10, 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. (The x86_64 F25 build >> root occupies 527 MB now, 20 MB of that are perl packages.) >> >> The reason why perl is there is the rpm-build package. The Requires >> dependency >> tree looks like: >> >> rpm-build >> perl-generators >> perl(:MODULE_COMPAT_5.22.1) >> perl(Fedora::VSP) >> perl >> perl-macros >> system-rpm-config (a Provide) >> redhat-rpm-config >> perl-srpm-macros >> >> While perl-srpm-macros's presence is intended, perl-generators' presence >> is >> unwanted. >> >> On technical level, the reason is the rpm-build binary package requires >> perl-generators explicitely. It's there for backward compatibility. Simply >> removing the dependency removes perl from minimal build root. >> >> But the compatibility is important. Without perl-generators in a build >> root no >> Perl dependencies are generated into binary packages. To fix it, every >> Perl >> package must build-require perl-generators. >> > > Might it not be easier to use the newly-allowed boolean dependencies, e.g. > in rpm-build something like this: > > Requires: (perl-generators if perl-libs) > > Paul. > -- > Fedora Extras Perl SIG > http://www.fedoraproject.org/wiki/Extras/SIGs/Perl > perl-devel mailing list > perl-devel@xxxxxxxxxxxxxxxxxxxxxxx > > http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx