Hello community,

here is the log from the commit of package perl-local-lib for openSUSE:Factory 
checked in at 2015-02-08 11:43:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    
2014-09-17 17:26:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-local-lib.new/perl-local-lib.changes       
2015-02-08 11:43:05.000000000 +0100
@@ -1,0 +2,10 @@
+Sat Feb  7 07:21:45 UTC 2015 - [email protected]
+
+- updated to 2.000015
+  - Avoid using += in Makefile when bootstrapping for portability (RT#100797)
+  - adjust quoting of paths with spaces to work with ExtUtils::MakeMaker 7.0,
+    and bump our EUMM prereq to 7.0.
+  - fix shell test for shells where we can't prevent some rc files from being
+    loaded, like zsh (RT#99819).
+
+-------------------------------------------------------------------

Old:
----
  local-lib-2.000014.tar.gz

New:
----
  local-lib-2.000015.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-local-lib.spec ++++++
--- /var/tmp/diff_new_pack.i2prFV/_old  2015-02-08 11:43:05.000000000 +0100
+++ /var/tmp/diff_new_pack.i2prFV/_new  2015-02-08 11:43:05.000000000 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package perl-local-lib
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           perl-local-lib
-Version:        2.000014
+Version:        2.000015
 Release:        0
 Summary:        Create and Use a local Library Directory for Perl Modules
 License:        Artistic-1.0 or GPL-1.0+
@@ -33,7 +33,7 @@
 BuildRequires:  perl-macros
 BuildRequires:  perl(CPAN) >= 1.82
 BuildRequires:  perl(ExtUtils::Install) >= 1.43
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.74
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 7.00
 BuildRequires:  perl(Module::Build) >= 0.3600
 Requires:       perl(CPAN) >= 1.82
 %{perl_requires}

++++++ local-lib-2.000014.tar.gz -> local-lib-2.000015.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/Changes 
new/local-lib-2.000015/Changes
--- old/local-lib-2.000014/Changes      2014-09-04 11:49:23.000000000 +0200
+++ new/local-lib-2.000015/Changes      2014-12-12 16:48:30.000000000 +0100
@@ -1,5 +1,12 @@
 Revision history for local::lib
 
+2.000015 - 2014-12-12
+ - Avoid using += in Makefile when bootstrapping for portability (RT#100797)
+ - adjust quoting of paths with spaces to work with ExtUtils::MakeMaker 7.0,
+   and bump our EUMM prereq to 7.0.
+ - fix shell test for shells where we can't prevent some rc files from being
+   loaded, like zsh (RT#99819).
+
 2.000014 - 2014-09-04
  - fix taint-mode test in some cases on case insensitive filesystems
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/META.json 
new/local-lib-2.000015/META.json
--- old/local-lib-2.000014/META.json    2014-09-04 11:50:06.000000000 +0200
+++ new/local-lib-2.000015/META.json    2014-12-12 16:48:48.000000000 +0100
@@ -4,7 +4,7 @@
       "mst - Matt S. Trout (cpan:MSTROUT) <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.141520",
+   "generated_by" : "ExtUtils::MakeMaker version 7, CPAN::Meta::Converter 
version 2.142690",
    "license" : [
       "perl_5"
    ],
@@ -44,7 +44,7 @@
          "requires" : {
             "CPAN" : "1.82",
             "ExtUtils::Install" : "1.43",
-            "ExtUtils::MakeMaker" : "6.74",
+            "ExtUtils::MakeMaker" : "7.00",
             "Module::Build" : "0.36",
             "perl" : "5.006"
          }
@@ -71,5 +71,5 @@
       },
       "x_IRC" : "irc://irc.perl.org/#local-lib"
    },
-   "version" : "2.000014"
+   "version" : "2.000015"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/META.yml 
new/local-lib-2.000015/META.yml
--- old/local-lib-2.000014/META.yml     2014-09-04 11:50:06.000000000 +0200
+++ new/local-lib-2.000015/META.yml     2014-12-12 16:48:48.000000000 +0100
@@ -6,7 +6,7 @@
   Test::More: '0'
 configure_requires: {}
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.141520'
+generated_by: 'ExtUtils::MakeMaker version 7, CPAN::Meta::Converter version 
2.142690'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,7 +19,7 @@
 requires:
   CPAN: '1.82'
   ExtUtils::Install: '1.43'
-  ExtUtils::MakeMaker: '6.74'
+  ExtUtils::MakeMaker: '7.00'
   Module::Build: '0.36'
   perl: '5.006'
 resources:
@@ -27,4 +27,4 @@
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=local-lib
   license: http://dev.perl.org/licenses/
   repository: git://github.com/Perl-Toolchain-Gang/local-lib
-version: '2.000014'
+version: '2.000015'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/Makefile.PL 
new/local-lib-2.000015/Makefile.PL
--- old/local-lib-2.000014/Makefile.PL  2014-09-04 11:47:59.000000000 +0200
+++ new/local-lib-2.000015/Makefile.PL  2014-12-09 21:15:57.000000000 +0100
@@ -14,7 +14,7 @@
     } },
     runtime => { requires => {
       'perl'                => 5.006,
-      'ExtUtils::MakeMaker' => '6.74', # version PERL_MM_OPT is shell parsed
+      'ExtUtils::MakeMaker' => '7.00', # version INSTALL_BASE taken as string, 
not shell
       'ExtUtils::Install'   => '1.43', # version INSTALL_BASE was added
       'Module::Build'       => '0.36', # PERL_MB_OPT
       'CPAN'                => '1.82', # sudo support + CPAN::HandleConfig
@@ -135,11 +135,12 @@
     qw(ExtUtils::MakeMaker ExtUtils::Install Module::Build CPAN);
 
   no warnings 'once';
-  *MY::postamble = sub {
-    <<"END";
-PERL     += -I\$(INSTALLPRIVLIB)
-FULLPERL += -I\$(INSTALLPRIVLIB)
-END
+  package MY;
+  *MY::init_PERL = sub {
+    my $self = shift;
+    $self->SUPER::init_PERL(@_);
+    $self->{PERL}     .= ' -I$(INSTALLPRIVLIB)';
+    $self->{FULLPERL} .= ' -I$(INSTALLPRIVLIB)';
   };
 
   local $ENV{PERL_AUTOINSTALL_PREFER_CPAN} = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/lib/local/lib.pm 
new/local-lib-2.000015/lib/local/lib.pm
--- old/local-lib-2.000014/lib/local/lib.pm     2014-09-04 11:48:41.000000000 
+0200
+++ new/local-lib-2.000015/lib/local/lib.pm     2014-12-09 21:20:00.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use Config;
 
-our $VERSION = '2.000014';
+our $VERSION = '2.000015';
 $VERSION = eval $VERSION;
 
 BEGIN {
@@ -229,9 +229,9 @@
 
 sub _mm_escape_path {
   my $path = shift;
-  $path =~ s/\\/\\\\\\\\/g;
+  $path =~ s/\\/\\\\/g;
   if ($path =~ s/ /\\ /g) {
-    $path = qq{"\\"$path\\""};
+    $path = qq{"$path"};
   }
   return $path;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/local-lib-2.000014/t/shell.t 
new/local-lib-2.000015/t/shell.t
--- old/local-lib-2.000014/t/shell.t    2014-07-26 08:54:49.000000000 +0200
+++ new/local-lib-2.000015/t/shell.t    2014-10-28 16:52:08.000000000 +0100
@@ -66,7 +66,7 @@
   },
   {
     name => 'zsh',
-    test => '-c "exit 0"',
+    test => '-f -c "exit 0"',
   },
   {
     name => 'ksh',
@@ -155,28 +155,33 @@
   delete $ENV{$_}
     for @vars;
   $ENV{PATH} = $root;
+  my $orig = call_shell($shell, '');
   my $bin_path = local::lib->install_base_bin_path($ll);
   mkdir $bin_path;
   my $env = call_ll($shell, $ll);
-  is $env->{PERL_LOCAL_LIB_ROOT}, $ll,
-    "$shell->{name}: activate root";
-  like $env->{PATH}, qr/^\Q$bin_path$sep\E/,
-    "$shell->{name}: activate PATH";
-  is $env->{PERL5LIB}, local::lib->install_base_perl_path($ll),
-    "$shell->{name}: activate PERL5LIB";
   my %install_opts = local::lib->installer_options_for($ll);
-  for my $var (qw(PERL_MM_OPT PERL_MB_OPT)) {
-    is $env->{$var}, $install_opts{$var},
+
+  delete $orig->{$_} for qw(PERL_MM_OPT PERL_MB_OPT);
+  my $want = {
+    PERL_LOCAL_LIB_ROOT => $ll,
+    PATH                => $bin_path,
+    PERL5LIB            => local::lib->install_base_perl_path($ll),
+    (map {; $_ => $install_opts{$_}} qw(PERL_MM_OPT PERL_MB_OPT)),
+  };
+  for my $var (keys %$want) {
+    $want->{$var} = join($sep, $want->{$var}, $orig->{$var} || ()),
+  }
+
+  for my $var (@vars) {
+    is $env->{$var}, $want->{$var},
       "$shell->{name}: activate $var";
   }
 
   $ENV{$_} = $env->{$_} for @vars;
   $env = call_ll($shell, '--deactivate', "$ll");
 
-  unlike $env->{PATH}, qr/^\Q$bin_path$sep\E/,
-    "$shell->{name}: deactivate PATH";
-  for my $var (grep { $_ ne 'PATH' } @vars) {
-    is $env->{$var}, undef,
+  for my $var (@vars) {
+    is $env->{$var}, $orig->{$var},
       "$shell->{name}: deactivate $var";
   }
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to