ERRORS: perl-CPANPLUS.spec

Adam Gołębiowski adamg at biomerieux.pl
Sun Jan 9 21:03:17 CET 2005


On Sun, Jan 09, 2005 at 04:28:24PM +0000, PLD ac-ppc builder wrote:
> + /usr/bin/make test
> cp bin/cpansmoke blib/script/cpansmoke
> /usr/bin/perl5.8.6 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpansmoke
> cp bin/cpanp blib/script/cpanp
> /usr/bin/perl5.8.6 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanp
> PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t
> t/0-signature....WARNING: This key is not certified with a trusted signature!
> Primary key fingerprint: 66B2 B78E D1B7 7641 4861  D592 B4B3 DD37 3C35 01A0
> Not in MANIFEST: pm_to_blib.ts
> ==> MISMATCHED content between MANIFEST and distribution files! <==

It looks like that if there is something in ~/.gnupg, make test fails.

Workaround for this is:

=====
--- perl-CPANPLUS.spec  9 Jan 2005 19:53:17 -0000       1.14
+++ perl-CPANPLUS.spec  9 Jan 2005 19:56:05 -0000
@@ -54,7 +54,11 @@
 
 %{__make}
 
-%{?with_tests:%{__make} test}
+%if %{with tests}
+rm -rf ~/.gnupg
+mkdir ~/.gnupg
+%{__make} test
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
=======

But that's simply unacceptable... any hints?

-- 
http://www.mysza.eu.org/ | Everybody needs someone sure, someone true,
   PLD Linux developer   | Everybody needs some solid rock, I know I do.




More information about the pld-devel-en mailing list