Hello community,

here is the log from the commit of package perl-Error for openSUSE:Factory 
checked in at 2017-08-12 20:06:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Error (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Error.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Error"

Sat Aug 12 20:06:02 2017 rev:27 rq:515140 version:0.17025

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Error/perl-Error.changes    2015-06-12 
20:28:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Error.new/perl-Error.changes       
2017-08-12 20:06:07.381243302 +0200
@@ -1,0 +2,13 @@
+Tue Aug  8 05:29:34 UTC 2017 - co...@suse.com
+
+- updated to 0.17025
+   see /usr/share/doc/packages/perl-Error/ChangeLog
+
+  Aug 07 2017 <shlo...@shlomifish.org> (Shlomi Fish)
+  
+    Error.pm #0.17025
+    - Fix 'use Error::Simple' overriding the $VERSION
+      - https://rt.cpan.org/Public/Bug/Display.html?id=122713
+      - Thanks to Matthew Horsfall for the report.
+
+-------------------------------------------------------------------

Old:
----
  Error-0.17024.tar.gz

New:
----
  Error-0.17025.tar.gz

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

Other differences:
------------------
++++++ perl-Error.spec ++++++
--- /var/tmp/diff_new_pack.Eoq7qs/_old  2017-08-12 20:06:08.385102668 +0200
+++ /var/tmp/diff_new_pack.Eoq7qs/_new  2017-08-12 20:06:08.401100427 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Error
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,14 +17,14 @@
 
 
 Name:           perl-Error
-Version:        0.17024
+Version:        0.17025
 Release:        0
 %define cpan_name Error
 Summary:        Error/exception handling in an OO-ish way
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Error/
-Source0:        
http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -58,6 +58,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc ChangeLog examples LICENSE README scripts
+%doc ChangeLog examples README scripts
+%license LICENSE
 
 %changelog

++++++ Error-0.17024.tar.gz -> Error-0.17025.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/ChangeLog new/Error-0.17025/ChangeLog
--- old/Error-0.17024/ChangeLog 2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/ChangeLog 2017-08-07 13:50:32.000000000 +0200
@@ -1,3 +1,10 @@
+Aug 07 2017 <shlo...@shlomifish.org> (Shlomi Fish)
+
+  Error.pm #0.17025
+  - Fix 'use Error::Simple' overriding the $VERSION
+    - https://rt.cpan.org/Public/Bug/Display.html?id=122713
+    - Thanks to Matthew Horsfall for the report.
+
 May 30 2015 <shlo...@shlomifish.org> (Shlomi Fish)
 
   Error.pm #0.17024
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/MANIFEST new/Error-0.17025/MANIFEST
--- old/Error-0.17024/MANIFEST  2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/MANIFEST  2017-08-07 13:50:32.000000000 +0200
@@ -29,7 +29,9 @@
 t/11rethrow.t
 t/12wrong-error-var.t
 t/13except-arg0.t
+t/14Error-Simple-VERSION.t
 t/lib/MyDie.pm
 t/pod-coverage.t
 t/pod.t
+t/style-trailing-space.t
 META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/META.json new/Error-0.17025/META.json
--- old/Error-0.17024/META.json 2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/META.json 2017-08-07 13:50:32.000000000 +0200
@@ -4,7 +4,7 @@
       "Shlomi Fish ( http://www.shlomifish.org/ )"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Module::Build version 0.421",
+   "generated_by" : "Module::Build version 0.4224",
    "keywords" : [
       "deprecated",
       "exceptions",
@@ -36,11 +36,11 @@
    "provides" : {
       "Error" : {
          "file" : "lib/Error.pm",
-         "version" : "0.17024"
+         "version" : "0.17025"
       },
       "Error::Simple" : {
-         "file" : "lib/Error.pm",
-         "version" : "0.17024"
+         "file" : "lib/Error/Simple.pm",
+         "version" : "0.17025"
       },
       "Error::WarnDie" : {
          "file" : "lib/Error.pm"
@@ -58,5 +58,6 @@
          "url" : "https://bitbucket.org/shlomif/perl-error.pm";
       }
    },
-   "version" : "0.17024"
+   "version" : "0.17025",
+   "x_serialization_backend" : "JSON::PP version 2.27400_02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/META.yml new/Error-0.17025/META.yml
--- old/Error-0.17024/META.yml  2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/META.yml  2017-08-07 13:50:32.000000000 +0200
@@ -6,7 +6,7 @@
 configure_requires:
   Module::Build: '0.280801'
 dynamic_config: 1
-generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 
2.142060'
+generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 
2.150010'
 keywords:
   - deprecated
   - exceptions
@@ -19,10 +19,10 @@
 provides:
   Error:
     file: lib/Error.pm
-    version: '0.17024'
+    version: '0.17025'
   Error::Simple:
-    file: lib/Error.pm
-    version: '0.17024'
+    file: lib/Error/Simple.pm
+    version: '0.17025'
   Error::WarnDie:
     file: lib/Error.pm
   Error::subs:
@@ -35,4 +35,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: https://bitbucket.org/shlomif/perl-error.pm
-version: '0.17024'
+version: '0.17025'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/Makefile.PL 
new/Error-0.17025/Makefile.PL
--- old/Error-0.17024/Makefile.PL       2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/Makefile.PL       2017-08-07 13:50:32.000000000 +0200
@@ -4,7 +4,7 @@
 WriteMakefile(
        NAME         => 'Error',
        VERSION_FROM => 'lib/Error.pm',
-       PREREQ_PM => 
+       PREREQ_PM =>
        {
                'Scalar::Util' => 0,
                'warnings' => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/README new/Error-0.17025/README
--- old/Error-0.17024/README    2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/README    2017-08-07 13:50:32.000000000 +0200
@@ -21,7 +21,7 @@
        record Error::Simple("A simple error")
            and return;
     }
- 
+
     unlink($file) or throw Error::Simple("$file: $!",$!);
 
     try {
@@ -79,11 +79,11 @@
 
 Share and Enjoy !!
 
-Arun Kumar U 
+Arun Kumar U
 <u_arunku...@yahoo.com>
 
 -------------------------------------------------------------------------------
-    Only wimps use tape backup: *real* men just upload their important 
+    Only wimps use tape backup: *real* men just upload their important
     stuff on ftp, and let the rest of the world mirror it.
                                                            - Linus Torvalds
 -------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/examples/next-in-loop/README 
new/Error-0.17025/examples/next-in-loop/README
--- old/Error-0.17024/examples/next-in-loop/README      2015-05-30 
12:46:00.000000000 +0200
+++ new/Error-0.17025/examples/next-in-loop/README      2017-08-07 
13:50:32.000000000 +0200
@@ -1,3 +1,3 @@
 This is a case study for various ways to implement a "next" command
-inside one of the Error.pm clauses, which itself will be inside an 
+inside one of the Error.pm clauses, which itself will be inside an
 inner loop inside Error.pm.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/inc/Test/Run/Builder.pm 
new/Error-0.17025/inc/Test/Run/Builder.pm
--- old/Error-0.17024/inc/Test/Run/Builder.pm   2015-05-30 12:46:00.000000000 
+0200
+++ new/Error-0.17025/inc/Test/Run/Builder.pm   2017-08-07 13:50:32.000000000 
+0200
@@ -54,7 +54,7 @@
         Test::Run::CmdLine::Iface->new(
             {
                 'test_files' => [glob("t/*.t")],
-            }   
+            }
             # 'backend_params' => $self->_get_backend_params(),
         );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/lib/Error/Simple.pm 
new/Error-0.17025/lib/Error/Simple.pm
--- old/Error-0.17024/lib/Error/Simple.pm       2015-05-30 12:46:00.000000000 
+0200
+++ new/Error-0.17025/lib/Error/Simple.pm       2017-08-07 13:50:32.000000000 
+0200
@@ -6,12 +6,14 @@
 # of the Error distribution as a whole is the GPLv1+ and the Artistic
 # licence).
 
+package Error::Simple;
+
 use strict;
 use warnings;
 
 use vars qw($VERSION);
 
-$VERSION = "0.17024";
+$VERSION = "0.17025";
 
 use Error;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/lib/Error.pm 
new/Error-0.17025/lib/Error.pm
--- old/Error-0.17024/lib/Error.pm      2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/lib/Error.pm      2017-08-07 13:50:32.000000000 +0200
@@ -17,7 +17,7 @@
 use vars qw($VERSION);
 use 5.004;
 
-$VERSION = "0.17024";
+$VERSION = "0.17025";
 
 use overload (
        '""'       =>   'stringify',
@@ -261,7 +261,7 @@
 
 use vars qw($VERSION);
 
-$VERSION = "0.17024";
+$VERSION = "0.17025";
 
 @Error::Simple::ISA = qw(Error);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/t/08warndie.t 
new/Error-0.17025/t/08warndie.t
--- old/Error-0.17024/t/08warndie.t     2015-05-30 12:46:00.000000000 +0200
+++ new/Error-0.17025/t/08warndie.t     2017-08-07 13:50:32.000000000 +0200
@@ -200,8 +200,9 @@
     die "An error";
 };
 
+my $WS = ' ';
 ( $linea, $lineb ) = ( $line + 2, $line + 3 );
-like( $s, qr/^My custom death here: 
+like( $s, qr/^My custom death here:$WS
 Unhandled perl error caught at toplevel:
 
   An error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/t/10throw-in-catch.t 
new/Error-0.17025/t/10throw-in-catch.t
--- old/Error-0.17024/t/10throw-in-catch.t      2015-05-30 12:46:00.000000000 
+0200
+++ new/Error-0.17025/t/10throw-in-catch.t      2017-08-07 13:50:32.000000000 
+0200
@@ -20,7 +20,7 @@
 $error = $@;
 
 # TEST
-ok (scalar($error =~ /^A-Lovely-Day/), 
+ok (scalar($error =~ /^A-Lovely-Day/),
     "Error thrown in the catch clause is registered"
 );
 
@@ -35,7 +35,7 @@
 $error = $@;
 
 # TEST
-ok (scalar($error =~ /^Had-the-ancient/), 
+ok (scalar($error =~ /^Had-the-ancient/),
     "Error thrown in the otherwise clause is registered"
 );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/t/14Error-Simple-VERSION.t 
new/Error-0.17025/t/14Error-Simple-VERSION.t
--- old/Error-0.17024/t/14Error-Simple-VERSION.t        1970-01-01 
01:00:00.000000000 +0100
+++ new/Error-0.17025/t/14Error-Simple-VERSION.t        2017-08-07 
13:50:32.000000000 +0200
@@ -0,0 +1,18 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+use vars qw($VERSION);
+
+$VERSION = '0.001';
+
+require Error::Simple;
+
+# TEST
+is ($VERSION, '0.001', "Testing that the VERSION was not overrided");
+
+1;
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Error-0.17024/t/style-trailing-space.t 
new/Error-0.17025/t/style-trailing-space.t
--- old/Error-0.17024/t/style-trailing-space.t  1970-01-01 01:00:00.000000000 
+0100
+++ new/Error-0.17025/t/style-trailing-space.t  2017-08-07 13:50:32.000000000 
+0200
@@ -0,0 +1,29 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval "use Test::TrailingSpace";
+if ($@)
+{
+    plan skip_all => "Test::TrailingSpace required for trailing space test.";
+}
+else
+{
+    plan tests => 1;
+}
+
+my $finder = Test::TrailingSpace->new(
+    {
+        root => '.',
+        filename_regex => 
qr/(?:(?:\.(?:t|pm|pl|PL|yml|json|arc|vim))|README|Changes|LICENSE|MANIFEST)\z/,
+    },
+);
+
+# TEST
+$finder->no_trailing_space(
+    "No trailing space was found."
+);
+


Reply via email to