Hello community,

here is the log from the commit of package perl-Log-Dispatch for 
openSUSE:Factory
checked in at Wed Aug 24 14:10:49 CEST 2011.



--------
--- perl-Log-Dispatch/perl-Log-Dispatch.changes 2011-04-02 21:37:25.000000000 
+0200
+++ /mounts/work_src_done/STABLE/perl-Log-Dispatch/perl-Log-Dispatch.changes    
2011-08-22 11:11:51.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 22 09:10:29 UTC 2011 - l...@linux-schulserver.de
+
+- fix build on distributions with old Test::More module
+  ( Log-Dispatch-old_Test-More.patch ) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  Log-Dispatch-old_Test-More.patch

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

Other differences:
------------------
++++++ perl-Log-Dispatch.spec ++++++
--- /var/tmp/diff_new_pack.1Ej3ab/_old  2011-08-24 14:05:40.000000000 +0200
+++ /var/tmp/diff_new_pack.1Ej3ab/_new  2011-08-24 14:05:40.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           perl-Log-Dispatch
 Version:        2.29
-Release:        1
+Release:        3
 License:        Artistic 2.0
 %define cpan_name Log-Dispatch
 Summary:        Dispatches messages to one or more outputs
@@ -27,6 +27,9 @@
 Group:          Development/Libraries/Perl
 #Source:         
http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-%{version}.tar.gz
 Source:         %{cpan_name}-%{version}.tar.gz
+%if 0%{?suse_version} <= 1110
+Patch1:         Log-Dispatch-old_Test-More.patch
+%endif
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -52,6 +55,11 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%if 0%{?suse_version} <= 1110
+%patch1 -p1
+# only needed for the maintainer:
+rm t/02-email-exit.t
+%endif
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ Log-Dispatch-old_Test-More.patch ++++++
Index: Log-Dispatch-2.29/t/03-short-syntax.t
===================================================================
--- Log-Dispatch-2.29.orig/t/03-short-syntax.t
+++ Log-Dispatch-2.29/t/03-short-syntax.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 use lib qw(t/lib);
-use Test::More;
+use Test::More qw(no_plan);
 use Log::Dispatch;
 use Log::Dispatch::TestUtil qw(cmp_deeply);
 use File::Temp qw( tempdir );
@@ -66,4 +66,4 @@ my $tempdir = tempdir( CLEANUP => 1 );
         "got error for expected outer arrayref" );
 }
 
-done_testing();
+#done_testing();
Index: Log-Dispatch-2.29/t/01-basic.t
===================================================================
--- Log-Dispatch-2.29.orig/t/01-basic.t
+++ Log-Dispatch-2.29/t/01-basic.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More qw(no_plan);
 
 use File::Spec;
 use File::Temp qw( tempdir );
@@ -951,7 +951,7 @@ SKIP:
     is( $dispatch->max_level, 'emergency', 'max_level is emergency' );
 }
 
-done_testing();
+#done_testing();
 
 package Log::Dispatch::String;
 

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



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