Author: spot Update of /cvs/pkgs/rpms/perl-Jemplate/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6030 Modified Files: perl-Jemplate.spec Added Files: Jemplate-0.23-fix-quoted-test.patch Log Message: fix quoted test to work with newer Template::Toolkit behavior Jemplate-0.23-fix-quoted-test.patch: Makefile.PL | 2 +- t/quoted.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE Jemplate-0.23-fix-quoted-test.patch --- diff -up Jemplate-0.23/Makefile.PL.BAD Jemplate-0.23/Makefile.PL --- Jemplate-0.23/Makefile.PL.BAD 2010-01-15 12:17:07.188707326 -0500 +++ Jemplate-0.23/Makefile.PL 2010-01-15 12:17:14.676699588 -0500 @@ -5,7 +5,7 @@ all_from 'lib/Jemplate.pm'; #build_requires 'Directory::Scratch'; -requires 'Template' => '2.19'; +requires 'Template' => '2.22'; requires 'File::Find::Rule' => '0.30'; use_test_base; diff -up Jemplate-0.23/t/quoted.t.BAD Jemplate-0.23/t/quoted.t --- Jemplate-0.23/t/quoted.t.BAD 2010-01-15 12:16:43.257698687 -0500 +++ Jemplate-0.23/t/quoted.t 2010-01-15 12:16:49.647698880 -0500 @@ -17,7 +17,7 @@ stash.set('foo', 'foo'); //line 1 "test_template" stash.set('bar', 'bar'); output += '\n'; -//line 0 "test_template" +//line 1 "test_template" output += stash.get('foo') + '/' + stash.get('bar'); output += '\n'; Index: perl-Jemplate.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Jemplate/devel/perl-Jemplate.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- perl-Jemplate.spec 7 Dec 2009 09:32:57 -0000 1.3 +++ perl-Jemplate.spec 15 Jan 2010 17:22:48 -0000 1.4 @@ -1,6 +1,6 @@ Name: perl-Jemplate Version: 0.23 -Release: 4%{?dist} +Release: 5%{?dist} # lib/Jemplate.pm -> GPL+ or Artistic # lib/Jemplate/Directive.pm -> GPL+ or Artistic # lib/Jemplate/Parser.pm -> GPL+ or Artistic @@ -11,6 +11,9 @@ Group: Development/Libraries Summary: JavaScript Templating with Template Toolkit Source: http://search.cpan.org/CPAN/authors/id/R/RK/RKRIMEN/Jemplate-%{version}.tar.gz Patch0: Jemplate.pm-0.23_1.patch +# http://rt.cpan.org/Public/Bug/Display.html?id=48564 +# Fix test to work with newer Template::Toolkit Behavior +Patch1: Jemplate-0.23-fix-quoted-test.patch Url: http://search.cpan.org/dist/Jemplate BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -18,7 +21,7 @@ BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Find::Rule) >= 0.30 -BuildRequires: perl(Template) >= 2.19 +BuildRequires: perl(Template) >= 2.22 # tests BuildRequires: perl(Test::Base) @@ -45,6 +48,7 @@ have full featured JavaScript templating %prep %setup -q -n Jemplate-%{version} %patch0 -p1 +%patch1 -p1 cat doc/text/Jemplate.text | iconv -f iso-8859-1 -t utf-8 > foo cat foo > doc/text/Jemplate.text @@ -78,6 +82,9 @@ rm -rf %{buildroot} %{_mandir}/man1/jemplate.1.gz %changelog +* Fri Jan 15 2010 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.23-5 +- fix quoted test to work with newer Template::Toolkit behavior + * Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.23-4 - rebuild against perl 5.10.1 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel