On Fri, Dec 03, 2010 at 05:01:27PM +0100, Christian Boltz wrote:
I just stumbled over CPAN::FindDependencies [1]. IMHO this could be a good addition to cpanspec or the RPM perl macros (maybe %perl_requires?) to automatically add all the module dependencies (like "perl:(Foo:Bar)") of a perl module. At the moment it seems I have to add the dependencies manually.
However, my perl knownledge is limited and I therefore can't tell if or how good this would work. What do the perl experts think?
Rpm already contains a perl script to automatically find dependencies by looking at the source code, but we've disabled it due to many false positives. We still have the "autoprovides" part running, that's why you see many perl() provides in our perl packages. Modern perl modules come with a META.yml file that also lists dependencies, maybe we should this for autogeneration. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org