Hello community,

here is the log from the commit of package perl-Sysadm-Install for 
openSUSE:Factory
checked in at Mon Sep 19 17:58:04 CEST 2011.



--------
--- perl-Sysadm-Install/perl-Sysadm-Install.changes     2011-05-23 
13:06:15.000000000 +0200
+++ perl-Sysadm-Install/perl-Sysadm-Install.changes     2011-09-16 
13:37:49.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Aug 30 00:00:00 CET 2011 - det...@links2linux.de
+
+- new upstream version <0.38>
+   (ms) Fixed Win32 test in 012tap.t
+   (ms) [rt.cpan.org #68095] Applied fix by Kai von Thadden for
+         tap's raise_error option and added test case.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  Sysadm-Install-0.36.tar.gz

New:
----
  Sysadm-Install-0.38.tar.gz

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

Other differences:
------------------
++++++ perl-Sysadm-Install.spec ++++++
--- /var/tmp/diff_new_pack.TuxcS8/_old  2011-09-19 17:57:42.000000000 +0200
+++ /var/tmp/diff_new_pack.TuxcS8/_new  2011-09-19 17:57:42.000000000 +0200
@@ -16,12 +16,13 @@
 #
 
 
+%define cpan_name Sysadm-Install
 
 Name:           perl-Sysadm-Install
-Version:        0.36
+Version:        0.38
 Release:        1
+
 License:        GPL+ or Artistic
-%define cpan_name Sysadm-Install
 Summary:        Typical installation tasks for system administrators
 Url:            http://search.cpan.org/dist/Sysadm-Install/
 Group:          Development/Libraries/Perl

++++++ Sysadm-Install-0.36.tar.gz -> Sysadm-Install-0.38.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sysadm-Install-0.36/Changes 
new/Sysadm-Install-0.38/Changes
--- old/Sysadm-Install-0.36/Changes     2011-05-02 02:12:09.000000000 +0200
+++ new/Sysadm-Install-0.38/Changes     2011-07-30 21:22:10.000000000 +0200
@@ -2,6 +2,13 @@
 Revision history for Sysadm::Install
 ########################################
 
+0.38  (2011/07/30)
+    (ms) Fixed Win32 test in 012tap.t
+
+0.37  (2011/06/25)
+    (ms) [rt.cpan.org #68095] Applied fix by Kai von Thadden for
+         tap's raise_error option and added test case.
+
 0.36  (2011/05/01)
     (ms) Added owner_cp() to copy uid and gid of a file or directory.
     (ms) Added raise_error option for tap()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sysadm-Install-0.36/META.yml 
new/Sysadm-Install-0.38/META.yml
--- old/Sysadm-Install-0.36/META.yml    2011-05-02 02:15:43.000000000 +0200
+++ new/Sysadm-Install-0.38/META.yml    2011-07-30 21:22:43.000000000 +0200
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Sysadm-Install
-version:            0.36
+version:            0.38
 abstract:           Typical installation tasks for system administrators
 author:
     - Mike Schilli <m...@perlmeister.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sysadm-Install-0.36/README 
new/Sysadm-Install-0.38/README
--- old/Sysadm-Install-0.36/README      2011-05-02 02:15:42.000000000 +0200
+++ new/Sysadm-Install-0.38/README      2011-07-30 21:22:42.000000000 +0200
@@ -1,5 +1,5 @@
 ######################################################################
-    Sysadm::Install 0.36
+    Sysadm::Install 0.38
 ######################################################################
 
 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sysadm-Install-0.36/lib/Sysadm/Install.pm 
new/Sysadm-Install-0.38/lib/Sysadm/Install.pm
--- old/Sysadm-Install-0.36/lib/Sysadm/Install.pm       2011-05-02 
02:12:18.000000000 +0200
+++ new/Sysadm-Install-0.38/lib/Sysadm/Install.pm       2011-07-30 
21:22:10.000000000 +0200
@@ -6,7 +6,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.36';
+our $VERSION = '0.38';
 
 use File::Copy;
 use File::Path;
@@ -1020,7 +1020,7 @@
 
     my $exit_code = $?;
 
-    if($opts->{raise_error}) {
+    if($exit_code != 0 and $opts->{raise_error}) {
         LOGCROAK("tap $cmd | failed ($!)");
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sysadm-Install-0.36/t/012tap.t 
new/Sysadm-Install-0.38/t/012tap.t
--- old/Sysadm-Install-0.36/t/012tap.t  2010-06-26 05:33:47.000000000 +0200
+++ new/Sysadm-Install-0.38/t/012tap.t  2011-07-07 16:54:12.000000000 +0200
@@ -2,12 +2,15 @@
 # Tests for Sysadm::Install
 #####################################
 
-use Test::More tests => 1;
+use Test::More tests => 2;
 
 use Sysadm::Install qw(:all);
 
 SKIP: {
-  skip "echo not supported on Win32", 1 if $^O eq "MSWin32";
+  skip "echo not supported on Win32", 2 if $^O eq "MSWin32";
   my($stdout, $stderr, $rc) = tap "echo", "'";
   is($stdout, "'\n", "single quoted tap");
+
+  ($stdout, $stderr, $rc) = tap { raise_error => 1 }, "echo";
+  is($rc, 0, "tap and raise");
 }


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to