Hello community, here is the log from the commit of package perl-local-lib for openSUSE:Factory checked in at 2013-07-30 12:06:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-local-lib (Old) and /work/SRC/openSUSE:Factory/.perl-local-lib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-local-lib" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-local-lib/perl-local-lib.changes 2013-06-13 17:46:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-local-lib.new/perl-local-lib.changes 2013-07-30 12:06:13.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Jul 27 11:58:45 UTC 2013 - [email protected] + +- updated to 1.008011 + - skip CPAN workaround if running via cpanminus (miyagawa, RT#85731) + +------------------------------------------------------------------- Old: ---- local-lib-1.008010.tar.gz New: ---- local-lib-1.008011.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-local-lib.spec ++++++ --- /var/tmp/diff_new_pack.uyFNKU/_old 2013-07-30 12:06:14.000000000 +0200 +++ /var/tmp/diff_new_pack.uyFNKU/_new 2013-07-30 12:06:14.000000000 +0200 @@ -18,7 +18,7 @@ Name: perl-local-lib -Version: 1.008010 +Version: 1.008011 Release: 0 Summary: Create and Use a local Library Directory for Perl Modules License: Artistic-1.0 or GPL-1.0+ ++++++ local-lib-1.008010.tar.gz -> local-lib-1.008011.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/local-lib-1.008010/Changes new/local-lib-1.008011/Changes --- old/local-lib-1.008010/Changes 2013-05-27 03:01:30.000000000 +0200 +++ new/local-lib-1.008011/Changes 2013-07-27 04:47:52.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for local::lib +1.008011 2013-07-26 + - skip CPAN workaround if running via cpanminus (miyagawa, RT#85731) + 1.008010 2013-05-26 - Fix a split on undefined value warning (David Golden -- see https://github.com/gugod/App-perlbrew/issues/305) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/local-lib-1.008010/META.yml new/local-lib-1.008011/META.yml --- old/local-lib-1.008010/META.yml 2013-05-27 03:05:03.000000000 +0200 +++ new/local-lib-1.008011/META.yml 2013-07-27 04:49:29.000000000 +0200 @@ -29,4 +29,4 @@ homepage: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/local-lib.git license: http://dev.perl.org/licenses/ repository: git://git.shadowcat.co.uk/p5sagit/local-lib.git -version: 1.008010 +version: 1.008011 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/local-lib-1.008010/Makefile.PL new/local-lib-1.008011/Makefile.PL --- old/local-lib-1.008010/Makefile.PL 2013-02-17 17:36:01.000000000 +0100 +++ new/local-lib-1.008011/Makefile.PL 2013-07-27 04:32:12.000000000 +0200 @@ -183,24 +183,26 @@ requires 'ExtUtils::MakeMaker' => '6.31'; # version INSTALL_BASE was added requires 'ExtUtils::Install' => '1.43'; # ditto requires 'Module::Build' => '0.36'; # PERL_MB_OPT -my $required_CPAN = '1.82'; -requires 'CPAN' => $required_CPAN; # sudo support + CPAN::HandleConfig -# No, really. See -# https://rt.cpan.org/Public/Bug/Display.html?id=23735 -# for why CPAN now sets the CPANPLUS env var. -# trouble is this means we can't auto_install(_now) CPAN itself -# without this beautiful hack +# don't bother fixing CPAN.pm if bootstrapped from cpanminus +unless ($ENV{PERL5_CPANM_IS_RUNNING}) { + my $required_CPAN = '1.82'; + requires 'CPAN' => $required_CPAN; # sudo support + CPAN::HandleConfig -my $no_cpanplus_env = !exists $ENV{PERL5_CPANPLUS_IS_RUNNING}; -my $no_cpan_env = !exists $ENV{PERL5_CPAN_IS_RUNNING}; -require CPAN; -delete $ENV{PERL5_CPANPLUS_IS_RUNNING} if $no_cpanplus_env; -delete $ENV{PERL5_CPAN_IS_RUNNING} if $no_cpan_env; + # No, really. See + # https://rt.cpan.org/Public/Bug/Display.html?id=23735 + # for why CPAN now sets the CPANPLUS env var. + # trouble is this means we can't auto_install(_now) CPAN itself + # without this beautiful hack -# and make sure that the user doesn't have any existing CPAN config that'll -# cause us problems for the next few steps. -{ + my $no_cpanplus_env = !exists $ENV{PERL5_CPANPLUS_IS_RUNNING}; + my $no_cpan_env = !exists $ENV{PERL5_CPAN_IS_RUNNING}; + require CPAN; + delete $ENV{PERL5_CPANPLUS_IS_RUNNING} if $no_cpanplus_env; + delete $ENV{PERL5_CPAN_IS_RUNNING} if $no_cpan_env; + + # and make sure that the user doesn't have any existing CPAN config that'll + # cause us problems for the next few steps. local $@; eval { require CPAN::HandleConfig; }; # Need newish CPAN.pm for this, ergo skip it if that version of CPAN isn't diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/local-lib-1.008010/lib/local/lib.pm new/local-lib-1.008011/lib/local/lib.pm --- old/local-lib-1.008010/lib/local/lib.pm 2013-05-27 03:01:30.000000000 +0200 +++ new/local-lib-1.008011/lib/local/lib.pm 2013-07-27 04:48:06.000000000 +0200 @@ -10,7 +10,7 @@ use File::Path (); use Config; -our $VERSION = '1.008010'; # 1.8.10 +our $VERSION = '1.008011'; # 1.8.11 our @KNOWN_FLAGS = qw(--self-contained --deactivate --deactivate-all); @@ -1024,6 +1024,14 @@ =back +=head1 SEE ALSO + +=over 4 + +=item * L<Perl Advent article, 2011|http://perladvent.org/2011/2011-12-01.html> + +=back + =head1 SUPPORT IRC: -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
