Perl in mock buildroot

Stepan Kasal skasal at redhat.com
Mon May 25 15:02:51 UTC 2009


Hi,

On Sun, May 24, 2009 at 12:29:40PM -0700, Chris Weyl wrote:
> either by requiring perl explicitly

right.

> or simply relying on perl always being in the buildroot ...

Wrong.

As explained in
http://fedoraproject.org/wiki/Packaging:Guidelines#Exceptions_2
and
http://fedoraproject.org/wiki/Packaging/FullExceptionList
you should rather BuildRequire perl in this situation.

> ...  (which it is).

Just by a chance!

perl is brought to the root as a dependency of rpm-build, that
contains perl scripts to search for automatic dependencies.
Actually, I have a plan to replace those by an awk script or
something, so that perl does not have to be installed to all mock
buildroots.

Take care, ;-)

	Stepan




More information about the Fedora-perl-devel-list mailing list