On 01/04/16 11:14, Petr Pisar wrote:
On Thu, Mar 31, 2016 at 02:43:41PM +0100, Paul Howarth wrote:
> On 31/03/16 14:10, Petr Pisar wrote:
>> 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)
>
That's interesting idea. I only worry there could be cases when the
perl-generators were unnecessarily installed. E.g. you install vim-enhanced,
thus you have perl-libs, and you install rpm-build for building non-perl
packages. Then you will have perl-generators. I'm not sure how much it
would bother people.
I think people doing development work like that are less bothered about
pulling in a few deps than the cloud/embedded people, where every
megabyte is worth saving. Wouldn't most developers have perl anyway?
Maybe not these days, I don't know.
Paul.