Hello community, here is the log from the commit of package perl-Config-Auto for openSUSE:Factory checked in at 2012-02-16 10:06:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-Auto (Old) and /work/SRC/openSUSE:Factory/.perl-Config-Auto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-Auto", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-Auto/perl-Config-Auto.changes 2011-10-27 19:24:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Config-Auto.new/perl-Config-Auto.changes 2012-02-16 10:06:44.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Feb 13 19:38:26 UTC 2012 - co...@suse.com + +- updated to 0.42 + - Add a test fstab file instead of relying on the vagaries of system ones + - Resolve RT#74711 reported by David Oswald + ( Calling Config::Auto::parse while $_ aliases a constant value throws exception ) + +------------------------------------------------------------------- Old: ---- Config-Auto-0.38.tar.gz New: ---- Config-Auto-0.42.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-Auto.spec ++++++ --- /var/tmp/diff_new_pack.zDt0p4/_old 2012-02-16 10:06:45.000000000 +0100 +++ /var/tmp/diff_new_pack.zDt0p4/_new 2012-02-16 10:06:45.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Config-Auto # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,42 +16,27 @@ # - Name: perl-Config-Auto -Version: 0.38 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Version: 0.42 +Release: 0 %define cpan_name Config-Auto Summary: Magical config file parser -Url: http://search.cpan.org/dist/Config-Auto/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Config-Auto/ Source: http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Config::IniFiles) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Spec::Functions) -BuildRequires: perl(File::Temp) BuildRequires: perl(IO::String) -BuildRequires: perl(Test::More) -BuildRequires: perl(Text::ParseWords) BuildRequires: perl(YAML) >= 0.67 -#BuildRequires: perl(Carp) #BuildRequires: perl(Config::Auto) -#BuildRequires: perl(File::Basename) -#BuildRequires: perl(File::Spec) -#BuildRequires: perl(Getopt::Std) -#BuildRequires: perl(vars) #BuildRequires: perl(XML::Simple) #BuildRequires: perl(YAML::Any) Requires: perl(Config::IniFiles) -Requires: perl(File::Spec::Functions) -Requires: perl(File::Temp) Requires: perl(IO::String) -Requires: perl(Test::More) -Requires: perl(Text::ParseWords) Requires: perl(YAML) >= 0.67 %{perl_requires} ++++++ Config-Auto-0.38.tar.gz -> Config-Auto-0.42.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/Changes new/Config-Auto-0.42/Changes --- old/Config-Auto-0.38/Changes 2011-08-08 22:39:28.000000000 +0200 +++ new/Config-Auto-0.42/Changes 2012-02-07 17:47:36.000000000 +0100 @@ -1,3 +1,12 @@ +0.42 Tue Feb 7 16:46:38 GMT 2012 +=================================== + - Add a test fstab file instead of relying on the vagaries of system ones + +0.40 Mon Feb 6 21:19:29 2012 +================================ + - Resolve RT 74711 reported by David Oswald + ( Calling Config::Auto::parse while $_ aliases a constant value throws exception ) + 0.38 Mon Aug 8 21:38:10 2011 ================================ - Resolve RT 69984 reported by Thomas Johnson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/MANIFEST new/Config-Auto-0.42/MANIFEST --- old/Config-Auto-0.38/MANIFEST 2011-08-08 22:44:06.000000000 +0200 +++ new/Config-Auto-0.42/MANIFEST 2012-02-07 17:48:08.000000000 +0100 @@ -9,8 +9,10 @@ t/03_invalid.t t/04_magic.t t/05_rt69984.t +t/06_const_it.t t/20_XML_unvailable.t t/99_pod.t +t/fstab t/lib/XML/Simple.pm t/src/04_magic.config t/src/05_rt69984.conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/META.json new/Config-Auto-0.42/META.json --- old/Config-Auto-0.38/META.json 2011-08-08 22:44:06.000000000 +0200 +++ new/Config-Auto-0.42/META.json 2012-02-07 17:48:08.000000000 +0100 @@ -4,7 +4,7 @@ "Jos I. Boumans <k...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150", + "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120351", "license" : [ "perl_5" ], @@ -22,22 +22,22 @@ "prereqs" : { "build" : { "requires" : { - "ExtUtils::MakeMaker" : 0 + "ExtUtils::MakeMaker" : "0" } }, "configure" : { "requires" : { - "ExtUtils::MakeMaker" : 0 + "ExtUtils::MakeMaker" : "0" } }, "runtime" : { "requires" : { - "Config::IniFiles" : 0, - "File::Spec::Functions" : 0, - "File::Temp" : 0, - "IO::String" : 0, - "Test::More" : 0, - "Text::ParseWords" : 0, + "Config::IniFiles" : "0", + "File::Spec::Functions" : "0", + "File::Temp" : "0", + "IO::String" : "0", + "Test::More" : "0", + "Text::ParseWords" : "0", "YAML" : "0.67" } } @@ -48,5 +48,5 @@ "url" : "https://github.com/jib/config-auto" } }, - "version" : "0.38" + "version" : "0.42" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/META.yml new/Config-Auto-0.42/META.yml --- old/Config-Auto-0.38/META.yml 2011-08-08 22:44:06.000000000 +0200 +++ new/Config-Auto-0.42/META.yml 2012-02-07 17:48:07.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150' +generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120351' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,4 +27,4 @@ YAML: 0.67 resources: repository: https://github.com/jib/config-auto -version: 0.38 +version: 0.42 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/lib/Config/Auto.pm new/Config-Auto-0.42/lib/Config/Auto.pm --- old/Config-Auto-0.38/lib/Config/Auto.pm 2011-08-08 22:36:26.000000000 +0200 +++ new/Config-Auto-0.42/lib/Config/Auto.pm 2012-02-07 17:44:31.000000000 +0100 @@ -7,7 +7,7 @@ use vars qw[$VERSION $DisablePerl $Untaint $Debug]; -$VERSION = '0.38'; +$VERSION = '0.42'; $DisablePerl = 0; $Untaint = 0; $Debug = 0; @@ -580,6 +580,7 @@ my $fh = $self->fh; my %config; + local $_; while (<$fh>) { next if /^\s*#/; /^\s*(.*?)\s*:\s*(.*)/ or next; @@ -657,7 +658,8 @@ my $fh = $self->fh; my %config; - while (<$fh>) { + local $_; + while ( <$fh>) { next if /^\s*#/; next unless /^\s*(.*?)\s*=\s*(.*?)\s*$/; @@ -686,6 +688,7 @@ my $fh = $self->fh; my %config; + local $_; while (<$fh>) { next if /^\s*#/; next unless /\s*(\S+)\s+(.*)/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/t/06_const_it.t new/Config-Auto-0.42/t/06_const_it.t --- old/Config-Auto-0.38/t/06_const_it.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Config-Auto-0.42/t/06_const_it.t 2012-02-07 17:43:45.000000000 +0100 @@ -0,0 +1,20 @@ +#!perl + +use Test::More 'no_plan'; +use strict; + +use Config::Auto; + +my $test_file = 't/fstab'; # A file found on any Unix/Linux machine. + +SKIP: { + skip "Can't test: $test_file doesn't exist on this system." + unless -e $test_file; + + for ( 'bar' ) { + eval { Config::Auto::parse($test_file); }; + ok( !$@, + 'Config::Auto:parse() where $_ aliases a string literal.' ); + diag($@) if $@; + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.38/t/fstab new/Config-Auto-0.42/t/fstab --- old/Config-Auto-0.38/t/fstab 1970-01-01 01:00:00.000000000 +0100 +++ new/Config-Auto-0.42/t/fstab 2012-02-07 17:42:12.000000000 +0100 @@ -0,0 +1,7 @@ +/dev/wd0a / ffs rw 1 1 +/dev/wd0b none swap sw 0 0 +/dev/wd0e /usr ffs rw 1 2 +/dev/wd0f /var ffs rw 1 2 +/dev/wd0g /home ffs rw 1 2 +kernfs /kern kernfs rw +procfs /proc procfs rw,linux -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org