On Fri, Apr 01, 2016 at 12:14:43PM +0200, Petr Pisar wrote:
On Thu, Mar 31, 2016 at 02:43:41PM +0100, Paul Howarth wrote:
> 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.
Another issue: FESCo banned the rich dependencies
<
https://fedorahosted.org/fesco/ticket/1563#comment:7>.
I'm not against adding the suggested conditional dependency to make the build
root more compatible. I only feel telling packagers "you don't have to
build-require perl-generators" and then adding "but you have sometimes"
a little bit confusing and hard to follow.
-- Petr