On 13.09.2012 19:55, David Haller wrote:
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.
Give it a shot if you want it to happen. But cpanspec already parses META.yml and Makefile.PL and outputs requires. The original question was about *scripts* requiring - and those usually do not come from CPAN. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org