Hello community,

here is the log from the commit of package perl-Nagios-Plugin for 
openSUSE:Factory checked in at 2015-08-29 20:04:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Nagios-Plugin (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Nagios-Plugin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Nagios-Plugin"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Nagios-Plugin/perl-Nagios-Plugin.changes    
2014-09-26 11:21:56.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Nagios-Plugin.new/perl-Nagios-Plugin.changes   
    2015-08-29 20:04:45.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 27 10:20:20 UTC 2015 - [email protected]
+
+- perl522.patch: fix test to work with perl-5.22
+
+-------------------------------------------------------------------

New:
----
  perl522.patch

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

Other differences:
------------------
++++++ perl-Nagios-Plugin.spec ++++++
--- /var/tmp/diff_new_pack.oLHyjP/_old  2015-08-29 20:04:45.000000000 +0200
+++ /var/tmp/diff_new_pack.oLHyjP/_new  2015-08-29 20:04:45.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Nagios-Plugin
 #
-# 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
@@ -26,6 +26,7 @@
 Group:          Development/Languages/Perl
 Url:            http://search.cpan.org/perldoc?Nagios%3A%3APlugin
 Source:         %cpan_name-%{version}.tar.gz
+Patch0:         perl522.patch
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Class::Accessor)
@@ -53,6 +54,7 @@
 
 %prep
 %setup -q -n %cpan_name-%{version}
+%patch0 -p2
 
 %build
 perl Makefile.PL OPTIMIZE="%{optflags} -Wall"

++++++ perl522.patch ++++++
--- a/Nagios-Plugin-0.36/t/Nagios-Plugin-Functions-01.t 2010-12-03 
12:46:21.000000000 +0100
+++ b/Nagios-Plugin-0.36/t/Nagios-Plugin-Functions-01.t 2015-08-27 
12:16:13.649140550 +0200
@@ -19,7 +19,7 @@
 is(get_shortname, "NAGIOS-PLUGIN-FUNCTIONS-01", "get_shortname ok");
 
 # Hardcoded checks of constants
-ok(defined %ERRORS, '%ERRORS defined');
+ok(%ERRORS, '%ERRORS defined');
 is(OK,          $ERRORS{OK},            "OK        => $ERRORS{OK}");
 is(WARNING,     $ERRORS{WARNING},       "WARNING   => $ERRORS{WARNING}");
 is(CRITICAL,    $ERRORS{CRITICAL},      "CRITICAL  => $ERRORS{CRITICAL}");

Reply via email to