Hello community, here is the log from the commit of package perl-Config-General for openSUSE:Factory checked in at 2016-11-07 12:21:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-General (Old) and /work/SRC/openSUSE:Factory/.perl-Config-General.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Config-General" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-General/perl-Config-General.changes 2016-07-12 23:52:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Config-General.new/perl-Config-General.changes 2016-11-07 12:21:44.000000000 +0100 @@ -1,0 +2,11 @@ +Sun Jul 31 05:09:04 UTC 2016 - coolo@suse.com + +- updated to 2.63 + see /usr/share/doc/packages/perl-Config-General/Changelog + + 2.63 - fix for rt.cpan.org#116340: do only consider a backslash + as meta escape char, but not if it appears on it's own, + as it happens on windows platforms. Thanks to for finding + and tracking it down. + +------------------------------------------------------------------- Old: ---- Config-General-2.62.tar.gz New: ---- Config-General-2.63.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-General.spec ++++++ --- /var/tmp/diff_new_pack.LUbZ5j/_old 2016-11-07 12:21:45.000000000 +0100 +++ /var/tmp/diff_new_pack.LUbZ5j/_new 2016-11-07 12:21:45.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-Config-General -Version: 2.62 +Version: 2.63 Release: 0 %define cpan_name Config-General Summary: Generic Config Module ++++++ Config-General-2.62.tar.gz -> Config-General-2.63.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-General-2.62/Changelog new/Config-General-2.63/Changelog --- old/Config-General-2.62/Changelog 2016-07-08 10:42:58.000000000 +0200 +++ new/Config-General-2.63/Changelog 2016-07-29 08:06:23.000000000 +0200 @@ -1,3 +1,8 @@ +2.63 - fix for rt.cpan.org#116340: do only consider a backslash + as meta escape char, but not if it appears on it's own, + as it happens on windows platforms. Thanks to for finding + and tracking it down. + 2.62 - fix rt.cpan.org#115326: Callback on 'pre_open' not called when glob expands to one include file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-General-2.62/General.pm new/Config-General-2.63/General.pm --- old/Config-General-2.62/General.pm 2016-07-08 10:25:25.000000000 +0200 +++ new/Config-General-2.63/General.pm 2016-07-29 08:10:28.000000000 +0200 @@ -32,7 +32,7 @@ use Carp; use Exporter; -$Config::General::VERSION = "2.62"; +$Config::General::VERSION = "2.63"; use vars qw(@ISA @EXPORT_OK); use base qw(Exporter); @@ -454,9 +454,18 @@ $configfile = $basefile; } - if ($this->{IncludeGlob} and $configfile =~ /[*?\[\{\\]/) { + my $glob = qr/[*?\[\{\\]/; + if ($^O =~ /win/i) { + # fix for rt.cpan.org#116340: do only consider a backslash + # as meta escape char, but not if it appears on it's own, + # as it happens on windows platforms. + $glob = qr/(\\[*?\[\{\\]|[*?\[\{])/; + } + + if ($this->{IncludeGlob} and $configfile =~ /$glob/) { # Something like: *.conf (or maybe dir/*.conf) was included; expand it and # pass each expansion through this method again. + local $_; my @include = grep { -f $_ } bsd_glob($configfile, GLOB_BRACE | GLOB_QUOTE); # applied patch by AlexK fixing rt.cpan.org#41030 @@ -473,8 +482,8 @@ # Multiple results or no expansion results (which is fine, # include foo/* shouldn't fail if there isn't anything matching) # rt.cpan.org#79869: local $this->{IncludeGlob}; - for (@include) { - $this->_open($_); + foreach my $file (@include) { + $this->_open($file); } return; } @@ -2865,7 +2874,7 @@ =head1 VERSION -2.62 +2.63 =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-General-2.62/META.json new/Config-General-2.63/META.json --- old/Config-General-2.62/META.json 2016-07-08 10:46:42.000000000 +0200 +++ new/Config-General-2.63/META.json 2016-07-29 08:10:54.000000000 +0200 @@ -45,5 +45,5 @@ "url" : "http://dev.catalyst.perl.org/repos/Config-General/trunk/" } }, - "version" : "2.62" + "version" : "2.63" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-General-2.62/META.yml new/Config-General-2.63/META.yml --- old/Config-General-2.62/META.yml 2016-07-08 10:46:42.000000000 +0200 +++ new/Config-General-2.63/META.yml 2016-07-29 08:10:54.000000000 +0200 @@ -24,4 +24,4 @@ IO::File: 0 resources: repository: http://dev.catalyst.perl.org/repos/Config-General/trunk/ -version: 2.62 +version: 2.63 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-General-2.62/README new/Config-General-2.63/README --- old/Config-General-2.62/README 2016-07-08 09:19:22.000000000 +0200 +++ new/Config-General-2.63/README 2016-07-29 08:06:53.000000000 +0200 @@ -104,4 +104,4 @@ VERSION - 2.62 + 2.63