# cpan2dist --format CPANPLUS::Dist::RPM --skiptest Net::Ping [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources [MSG] dry-run prepare with makemaker... Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.8.8/build/Net-Ping-2.35/Makefile.PL ]... Writing Makefile for Net::Ping [MSG] writing specfile for 'CPANPLUS::Dist::RPM=HASH(0x81b8330)->distname'... [MSG] specfile for 'Net-Ping' written [MSG] dry-run build with makemaker... [MSG] Module 'Net::Ping' depends on 'Test', may need to build a 'CPANPLUS::Dist::RPM' package for it as well [MSG] Building 'Net-Ping' from specfile /usr/src/redhat/perl-Net-Ping.spec... Dist creation of 'Net::Ping' failed: 'Can't locate object method "specpath" via package "CPANPLUS::Dist::RPM" at /usr/lib/perl5/site_perl/5.8.8/CPANPLUS/Dist/RPM.pm line 338. ' at /usr/bin/cpan2dist line 372.