Hello community,

here is the log from the commit of package perl-Template-Toolkit for 
openSUSE:Factory checked in at 2013-07-02 07:40:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Template-Toolkit (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Template-Toolkit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Template-Toolkit"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Template-Toolkit/perl-Template-Toolkit.changes  
    2012-02-16 10:07:03.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Template-Toolkit.new/perl-Template-Toolkit.changes
 2013-07-02 07:40:24.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jun 26 09:52:09 UTC 2013 - [email protected]
+
+- add split_pattern.patch from RT#84778 to fix build with perl 5.18
+
+-------------------------------------------------------------------

New:
----
  split_pattern.patch

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

Other differences:
------------------
++++++ perl-Template-Toolkit.spec ++++++
--- /var/tmp/diff_new_pack.BPjYJR/_old  2013-07-02 07:40:24.000000000 +0200
+++ /var/tmp/diff_new_pack.BPjYJR/_new  2013-07-02 07:40:24.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Template-Toolkit
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,19 @@
 #
 
 
-
 Name:           perl-Template-Toolkit
 Version:        2.24
 Release:        0
-License:        Artistic-1.0
 Summary:        Template Processing System
-Url:            http://cpan.org/dist/Template-Toolkit
+License:        Artistic-1.0
 Group:          Development/Libraries/Perl
+Url:            http://cpan.org/dist/Template-Toolkit
 Source:         
http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-%{version}.tar.gz
+Patch0:         
https://rt.cpan.org/Public/Ticket/Attachment/1204402/635952/split_pattern.patch
 #BuildRequires:  perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM 
perl-XML-Parser
 BuildRequires:  perl
 #
+BuildRequires:  perl-macros
 BuildRequires:  perl(AppConfig) >= 1.56
 BuildRequires:  perl(DBI)
 BuildRequires:  perl(Date::Calc)
@@ -40,7 +41,6 @@
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(XML::DOM)
-BuildRequires:  perl-macros
 #
 Requires:       perl(AppConfig) >= 1.56
 # not defined but needed
@@ -69,6 +69,7 @@
 
 %prep
 %setup -q -n "Template-Toolkit-%{version}"
+%patch0 -p1
 
 %build
 perl Makefile.PL

++++++ split_pattern.patch ++++++
--- a/lib/Template/VMethods.pm  2012-02-07 09:06:38.000000000 +0000
+++ b/lib/Template/VMethods.pm  2013-04-22 16:58:34.000000000 +0000
@@ -261,12 +261,12 @@
 
     if (defined $limit) {
         return [ defined $split
-                 ? split($split, $str, $limit)
+                 ? split("(?:)".$split, $str, $limit)
                  : split(' ', $str, $limit) ];
     }
     else {
         return [ defined $split
-                 ? split($split, $str)
+                 ? split("(?:)".$split, $str)
                  : split(' ', $str) ];
     }
 }
--- a/lib/Template/Plugin/String.pm     2011-12-20 07:41:35.000000000 +0000
+++ b/lib/Template/Plugin/String.pm     2013-04-22 16:55:36.000000000 +0000
@@ -363,7 +363,7 @@
     my $split = CORE::shift;
     my $limit = CORE::shift || 0;
     $split = '\s+' unless defined $split;
-    return [ split($split, $self->{ text }, $limit) ];
+    return [ split("(?:)".$split, $self->{ text }, $limit) ];
 }
 
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to