Re: Removing perl from build root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/16 10:09, Petr Pisar wrote:
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>.

We were discussing this for F-25 and they're not banned for F-25, just F-24, at least so far.

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.

How about "if you ship a perl script or module, you must BR: perl"?

For the vast majority of packages, this would be needed anyway as perl is used in the build process. For those few exceptions you were talking about, this would pull in perl-generators via dependencies. All clear and problem solved.

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




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux