Hello community, here is the log from the commit of package perl-Config-IniFiles for openSUSE:Factory checked in at 2015-07-02 22:44:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-IniFiles (Old) and /work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Config-IniFiles" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-IniFiles/perl-Config-IniFiles.changes 2015-04-25 21:16:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new/perl-Config-IniFiles.changes 2015-07-02 22:44:02.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 18 17:36:02 UTC 2015 - coolo@suse.com + +- updated to 2.87 + see /usr/share/doc/packages/perl-Config-IniFiles/Changes + +------------------------------------------------------------------- Old: ---- Config-IniFiles-2.86.tar.gz New: ---- Config-IniFiles-2.87.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-IniFiles.spec ++++++ --- /var/tmp/diff_new_pack.IyP8MO/_old 2015-07-02 22:44:03.000000000 +0200 +++ /var/tmp/diff_new_pack.IyP8MO/_new 2015-07-02 22:44:03.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Config-IniFiles -Version: 2.86 +Version: 2.87 Release: 0 %define cpan_name Config-IniFiles Summary: Module for Reading .Ini-Style Configuration Files @@ -30,9 +30,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(List::MoreUtils) >= 0.33 +BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(Module::Build) >= 0.360000 -Requires: perl(List::MoreUtils) >= 0.33 +Requires: perl(List::Util) >= 1.33 %{perl_requires} %description ++++++ Config-IniFiles-2.86.tar.gz -> Config-IniFiles-2.87.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/Build.PL new/Config-IniFiles-2.87/Build.PL --- old/Config-IniFiles-2.86/Build.PL 2015-04-14 09:55:34.000000000 +0200 +++ new/Config-IniFiles-2.87/Build.PL 2015-06-16 11:05:39.000000000 +0200 @@ -35,7 +35,7 @@ 'Fcntl' => 0, 'File::Basename' => 0, 'File::Temp' => 0, - 'List::MoreUtils' => '0.33', + 'List::Util' => '1.33', }, create_makefile_pl => 'small', meta_merge => diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/Changes new/Config-IniFiles-2.87/Changes --- old/Config-IniFiles-2.86/Changes 2015-04-14 09:55:34.000000000 +0200 +++ new/Config-IniFiles-2.87/Changes 2015-06-16 11:05:39.000000000 +0200 @@ -1,21 +1,31 @@ -2.86 2015-04-14 +2.87 2015-06-16 + * Replace List::MoreUtils with List::Util-1.33-or-above. + - We only used any() and none() which exist in List::Util too now. + - https://rt.cpan.org/Public/Bug/Display.html?id=104764 + - Thanks to DBOOK for the report. + * Fix handling of trailing comments which contain their delimiters twice. + - E.g: "key=val ; comment ; further comment". + - https://rt.cpan.org/Ticket/Display.html?id=105255 + - Thanks to Rohan Carly for the report and a test case. + +2.86 2015-04-14 * Hopefully fix tests in perls less than 5.14 - Failed on CPAN Tester reports such as: - http://www.cpantesters.org/cpan/report/88707ece-e22d-11e4-a1d1-8536eb4f9f07 - Thanks to Slaven Rezic for pointing it to me. -2.85 2015-04-13 +2.85 2015-04-13 * Convert "Changes" (= this file) to CPAN::Changes. - Added t/cpan-changes.t in the process. * Add OLD-Changes.txt for the old changes' log. -2.84 2015-04-13 +2.84 2015-04-13 * Fix https://rt.cpan.org/Public/Bug/Display.html?id=103496 - Improperly update while using _write_config_with_a_made_fh - Thanks to JORISD for the report, a proposed patch and a test case. -2.83 2014-01-27 +2.83 2014-01-27 * Add a LICENSE file and section. - Kwalitee. @@ -23,38 +33,38 @@ * Minimum version is now perl-5.8.0. - CPANTS Kwalitee. -2.82 2013-05-21 +2.82 2013-05-21 * Add t/style-trailing-space.t . - Remove trailing space. -2.81 2013-05-16 +2.81 2013-05-16 * Add the CopySection method to copy a section. - Thanks to James Rouzier. -2.80 2013-05-14 +2.80 2013-05-14 * Add the RenameSection method to rename a section. - Thanks to James Rouzier. -2.79 2013-05-6 +2.79 2013-05-6 * Fix test failures with Pod-Simple-3.28: - http://www.cpantesters.org/cpan/report/98f9d3a8-b557-11e2-9adc-3d5fc1508286 -2.78 2012-10-21 +2.78 2012-10-21 * Fix https://rt.cpan.org/Public/Bug/Display.html?id=80259: - Warnings on undefined value in length in perl-5.10.x. -2.77 2012-06-21 +2.77 2012-06-21 * Bump the List::MoreUtils dependency to '0.33'. - https://rt.cpan.org/Ticket/Display.html?id=77930 - Thanks to TJENNESS for the report. -2.76 2012-06-15 +2.76 2012-06-15 * Correct the documentation regarding the syntax of calling ->WriteConfig(), which always accepts a mandatory filename and not just @@ -62,21 +72,21 @@ - Thanks to the Mageia Linux QA team at: - https://bugs.mageia.org/show_bug.cgi?id=6024#c17 -2.75 2012-05-25 +2.75 2012-05-25 * Add "=encoding utf8" to the POD of lib/Config/IniFiles.pm - The POD contained wide characters and it is now an error in with recent Test::Pod and Pod::Simple. - See for example: http://www.cpantesters.org/cpan/report/89000ebe-a5bc-11e1-a439-fa78ab6c2661 -2.74 2012-05-24 +2.74 2012-05-24 * Made sure .ini files are output on Win32 with CR-LF pairs. - Thanks to Ben Johnson for reporting the bug and for a preliminary test script. - Add t/32mswin-outputs-contain-crs.t -2.73 2012-05-14 +2.73 2012-05-14 * Regression bug fix: temporary file creation error should generate a warning and return undef() instead of throwing an exception. @@ -84,7 +94,7 @@ - Thanks to Adam D. Barrat for noticing that, and Gregor Herrmann from Debian for reporting this issue. -2.72 2012-05-5 +2.72 2012-05-5 * More refactoring. @@ -94,7 +104,7 @@ * Maintainer’s special birthday (5-May) release. -2.71 2012-05-2 +2.71 2012-05-2 * SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename with a predictable name ("${filename}-new") which opens the door for potential @@ -107,7 +117,7 @@ * More refactoring. -2.70 2012-04-6 +2.70 2012-04-6 * Fix the test dependency (in the new t/31comments_with_spaces.t test) on IO::stringy (now writing it to a file). @@ -117,7 +127,7 @@ * Modernized some of the open() calls in the test files. - three args open, lexcial file handles, etc. -2.69 2012-04-5 +2.69 2012-04-5 * Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid=106926 - "Trailing comments with whitespace are not recognised" @@ -133,16 +143,16 @@ - Expand tabs to spaces. - many other small changes. -2.68 2011-06-21 +2.68 2011-06-21 * Typo correction: https://rt.cpan.org/Ticket/Display.html?id=69003 -2.67 2011-06-21 +2.67 2011-06-21 * Made sure that parameters with empty values will be written to the file. - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=68554 . -2.66 2011-01-29 +2.66 2011-01-29 * Add support for the handle_trailing_comment option to support trailing comments at the end of a param=value line. @@ -151,20 +161,20 @@ - Some comments and corrections of the patch by Shlomi Fish (the current Config-IniFiles maintainer.) -2.65 2010-11-25 +2.65 2010-11-25 * Replaced calls to File::Temp's tempfile() with those to its tempdir() followed by File::Spec->catfile() - hopefully fixes the CPAN smoking failures on Win32. -2.64 2010-11-20 +2.64 2010-11-20 * Fixed https://rt.cpan.org/Ticket/Display.html?id=63177 - tag-release.pl was installed into lib/Config by EU-MM. Converted the Makefile.PL to a wrapper around Build.PL by using Module-Build's create_makefile_pl='small' instead of create_makefile_pl='traditional' . -2.63 2010-11-19 +2.63 2010-11-19 * Fixed https://rt.cpan.org/Ticket/Display.html?id=63079 by refactoring/bug-fixing the main module into the _OutputParam method, which @@ -175,7 +185,7 @@ reappearance of the bug was caused due to duplicate code, which was now eliminated. -2.62 2010-11-19 +2.62 2010-11-19 * Applied a modified version of Steven Haryanto's commit ac6ace8bf09fabba4e6ea3b2826ff13cd30507bc : @@ -191,7 +201,7 @@ -Applied a modified version of Steven Haryanto's commit 2181f438d40b54c290a2dda5627a244c6e467a7b -2.61 2010-11-14 +2.61 2010-11-14 * Correct the opening comment on t/26scalar-filehandle.t to point to the right bug URL and to include the title of the bug @@ -202,14 +212,14 @@ is above 5.8.x - not that IO::Scalar is available, because we use open my $fh, "<", \$buffer; -2.60 2010-11-13 +2.60 2010-11-13 * Made t/19param-found-outside-section.t pass in case IO::Scalar is not installed. - We got many failing test reports due to that, like: - http://www.cpantesters.org/cpan/report/eb3df0f4-eeb7-11df-b934-9430e12b63f3 -2.59 2010-11-12 +2.59 2010-11-12 * Applied a patch from "sharyanto" about enabling the -fallback parameter to new for items outside any section. @@ -217,7 +227,7 @@ * Add the tag-release.pl file to tag a release. -2.58 2010-05-17 +2.58 2010-05-17 * Incorporated a fix for some broken POD. - https://rt.cpan.org/Ticket/Display.html?id=51617 @@ -231,21 +241,21 @@ - https://rt.cpan.org/Ticket/Display.html?id=57536 - Thanks to Tom Molesworth for the patch. -2.57 2010-03-1 +2.57 2010-03-1 * Fixed failure to read the ini file contents from a filehandle made out of a scalar - https://rt.cpan.org/Ticket/Display.html?id=45997 - Applied a patch by Nicolas Mendoza - thanks! -2.56 2009-12-31 +2.56 2009-12-31 * Hopefully fixed the skip() in t/07misc.t - https://rt.cpan.org/Public/Bug/Display.html?id=53238 - It was skip($num, $label) instead of skip($label, $num) and it lacked a "SKIP:" label. -2.55 2009-12-22 +2.55 2009-12-22 * Refactoring the tests: - Converted t/05hash.t to Test::More and modernised it. @@ -254,14 +264,14 @@ - Converted t/10delta.t to Test::More and modernised it. - Add the t_unlink method. -2.54 2009-11-18 +2.54 2009-11-18 * Adapted t/25line-endings.t to perl-5.6.x . - http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026936.html - Failure there. - did that by replacing open ">:raw" with "binmode()". -2.53 2009-11-13 +2.53 2009-11-13 * Converted t/01basic.t to Test::More and modernised it. * Converted t/02weird.t to Test::More and modernised it. @@ -271,7 +281,7 @@ - included t/25line-endings.t - modified a little. -2.52 2009-06-28 +2.52 2009-06-28 * Added more keys to Build.PL (author, etc.) * Added resources and keywords to META.yml. @@ -281,12 +291,12 @@ - replaced with Config::IniFiles->new(). - see "Perl Best Practices", "Programming Perl", 3rd Edition -2.51 2009-06-8 +2.51 2009-06-8 * Fixed "#46721: $config->exists() does not pay attention to -nocase => 1" - https://rt.cpan.org/Ticket/Display.html?id=46721 -2.50 2009-05-31 +2.50 2009-05-31 * Fixed the POD for SetParameterEOT: - https://rt.cpan.org/Ticket/Display.html?id=28375 @@ -295,7 +305,7 @@ - http://rt.cpan.org/Ticket/Display.html?id=46549 - Documented the ->OutputConfig() method. -2.49 2009-05-2 +2.49 2009-05-2 * Fixed bug https://rt.cpan.org/Public/Bug/Display.html?id=45209 : - Makefile.PL lacked the empty "PL_FILES" directive. @@ -304,7 +314,7 @@ - Failure to read ini file contents from a scalar (via "IO::Scalar"). - added t/23scalar-ref.t -2.48 2009-04-7 +2.48 2009-04-7 * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=30402 : - Trailing comments at the end of the file are not written. @@ -317,7 +327,7 @@ * Documented the old API in regards to bug #34067 - see above. -2.47 2009-01-21 +2.47 2009-01-21 * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=34067 : - Multiline values returned as array references in tied hash interface @@ -329,7 +339,7 @@ from t/lib where appropriate. See for example: - http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3101788.html -2.46 2009-01-17 +2.46 2009-01-17 * Added regression tests for bug #1720915 - https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=6926&atid=106926 @@ -355,7 +365,7 @@ by newlines). It was documented and tested. - https://rt.cpan.org/Ticket/Display.html?id=8612 -2.45 2008-12-27 +2.45 2008-12-27 * Fixed bug #1230339: - https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=6926&atid=106926 @@ -374,13 +384,13 @@ - multiline-values are tainted. - Added a test as t/17untainted-multiline-values.t -2.44 2008-12-25 +2.44 2008-12-25 * Eliminated an assignment of $VERSION into itself to "get rid of warnings". Only caused warnings at Build.PL, and is unnecessary now that we "use vars". -2.43 2008-12-4 +2.43 2008-12-4 * Placed IniFiles.pm under lib/Config/IniFiles.pm. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/META.json new/Config-IniFiles-2.87/META.json --- old/Config-IniFiles-2.86/META.json 2015-04-14 09:55:34.000000000 +0200 +++ new/Config-IniFiles-2.87/META.json 2015-06-16 11:05:39.000000000 +0200 @@ -47,7 +47,7 @@ "Fcntl" : "0", "File::Basename" : "0", "File::Temp" : "0", - "List::MoreUtils" : "0.33", + "List::Util" : "1.33", "Symbol" : "0", "perl" : "5.008", "strict" : "0", @@ -58,7 +58,7 @@ "provides" : { "Config::IniFiles" : { "file" : "lib/Config/IniFiles.pm", - "version" : "2.86" + "version" : "2.87" } }, "release_status" : "stable", @@ -71,5 +71,5 @@ "url" : "https://bitbucket.org/shlomif/perl-config-inifiles" } }, - "version" : "2.86" + "version" : "2.87" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/META.yml new/Config-IniFiles-2.87/META.yml --- old/Config-IniFiles-2.86/META.yml 2015-04-14 09:55:34.000000000 +0200 +++ new/Config-IniFiles-2.87/META.yml 2015-06-16 11:05:39.000000000 +0200 @@ -32,13 +32,13 @@ provides: Config::IniFiles: file: lib/Config/IniFiles.pm - version: '2.86' + version: '2.87' requires: Carp: '0' Fcntl: '0' File::Basename: '0' File::Temp: '0' - List::MoreUtils: '0.33' + List::Util: '1.33' Symbol: '0' perl: '5.008' strict: '0' @@ -47,4 +47,4 @@ homepage: https://sourceforge.net/projects/config-inifiles/ license: http://dev.perl.org/licenses/ repository: https://bitbucket.org/shlomif/perl-config-inifiles -version: '2.86' +version: '2.87' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/lib/Config/IniFiles.pm new/Config-IniFiles-2.87/lib/Config/IniFiles.pm --- old/Config-IniFiles-2.86/lib/Config/IniFiles.pm 2015-04-14 09:55:34.000000000 +0200 +++ new/Config-IniFiles-2.87/lib/Config/IniFiles.pm 2015-06-16 11:05:39.000000000 +0200 @@ -2,7 +2,7 @@ use vars qw($VERSION); -$VERSION = '2.86'; +$VERSION = '2.87'; require 5.008; use strict; @@ -11,7 +11,7 @@ use Symbol 'gensym','qualify_to_ref'; # For the 'any data type' hack use Fcntl qw( SEEK_SET SEEK_CUR ); -use List::MoreUtils qw(any none); +use List::Util qw(any none); use File::Basename qw( dirname ); use File::Temp qw/ tempfile /; @@ -1083,7 +1083,7 @@ # we should split value and comments if there is any comment if ($end_commenthandle and - my ($value_to_assign, $end_comment_to_assign) = $self->_curr_val =~ /(.*?)\s*[$allCmt]\s*([^$allCmt]*)$/) + my ($value_to_assign, $end_comment_to_assign) = $self->_curr_val =~ /(.*?)\s*[$allCmt]\s*(.*)$/) { $self->_curr_val($value_to_assign); $self->_curr_end_comment($end_comment_to_assign);