Hello community,

here is the log from the commit of package perl-Test-Unit for openSUSE:Factory
checked in at Mon May 23 15:40:29 CEST 2011.



--------
--- perl-Test-Unit/perl-Test-Unit.changes       2011-05-03 13:48:03.000000000 
+0200
+++ /mounts/work_src_done/STABLE/perl-Test-Unit/perl-Test-Unit.changes  
2011-05-23 11:04:39.000000000 +0200
@@ -1,0 +2,5 @@
+Mon May 23 09:04:14 UTC 2011 - [email protected]
+
+- fix build with perl 5.14
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  Test-Unit-0.25.diff

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

Other differences:
------------------
++++++ perl-Test-Unit.spec ++++++
--- /var/tmp/diff_new_pack.nx7TXH/_old  2011-05-23 15:39:52.000000000 +0200
+++ /var/tmp/diff_new_pack.nx7TXH/_new  2011-05-23 15:39:52.000000000 +0200
@@ -19,13 +19,14 @@
 
 Name:           perl-Test-Unit
 Version:        0.25
-Release:        1
+Release:        3
 License:        GPL+ or Artistic
 %define cpan_name Test-Unit
 Summary:        the PerlUnit testing framework
 Url:            http://search.cpan.org/dist/Test-Unit/
 Group:          Development/Libraries/Perl
 Source:         
http://www.cpan.org/authors/id/M/MC/MCAST/%{cpan_name}-%{version}.tar.gz
+Patch0:         Test-Unit-0.25.diff
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -54,6 +55,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ Test-Unit-0.25.diff ++++++
Index: Test-Unit-0.25/t/tlib/AssertTest.pm
===================================================================
--- Test-Unit-0.25.orig/t/tlib/AssertTest.pm
+++ Test-Unit-0.25/t/tlib/AssertTest.pm
@@ -70,8 +70,6 @@ sub test_assert {
 
         'bang'  => [ __LINE__, sub { shift->assert(0, 'bang')              } ],
         'bang'  => [ __LINE__, sub { shift->assert('', 'bang')             } ],
-        "'qux' did not match /(?-xism:foo)/"
-                => [ __LINE__, sub { shift->assert(qr/foo/, 'qux')         } ],
         'bang'  => [ __LINE__, sub { shift->assert(qr/foo/, 'qux', 'bang') } ],
         'a ne b'=> [ __LINE__, sub { shift->assert($coderef, 'a', 'b')     } ],
     );
@@ -253,7 +251,6 @@ sub test_ok_not_equals {
         q{expected '', got 'foo'}           => [ 'foo',  ''      ], 
         q{expected 'foo', got ''}           => [ '',     'foo'   ], 
         q{expected 5, got 4}                => [ $adder, 5       ], 
-        q{'foo' did not match /(?-xism:x)/} => [ 'foo',  qr/x/   ], 
     );
     my @tests = ();
     while (@checks) {

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to