![](https://seccdn.libravatar.org/avatar/638c5f9b9a41e53d4663197a58261c49.jpg?s=120&d=mm&r=g)
Hello, On Thu, 06 Sep 2012, Michael Schroeder wrote:
On Thu, Sep 06, 2012 at 06:27:18PM +0200, Christian Boltz wrote:
OTOH, I'm not sure if having the automatic dependency detection completely disabled makes sense. Sure, there are cases where it bites back, but it will also cause some breakage if a required perl module isn't Required/installed.
I'd rather have that. That'd bite the packager. Not the user with missing modules.
CPAN gets the required dependencies from META.yml, why use a different mechanism than what upstream perl uses?
It's not always right either. And AFAIK _most_ packages still have no META.yml. But anyway: how about parsing META.yml/Makefile.PL files for Requires, .pm/.pl for "require"/"use" and use a "prune" list (rpm -q --provides of perl/perl-base) for pragmas and core modules? And output warnings, ideally with the right "Requires: perl(Foo::Bar)" for C&P in the output. Should be easy enough. -dnh -- Perl is the successful attempt to make a braindump executable. -- Lutz Donnerhacke -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org