[perl-HTML-Template] 2.10
Tom Callaway
spot at fedoraproject.org
Thu Jul 14 19:13:21 UTC 2011
commit 992ca89c736f2d627bcbde52588e4245e4a9516e
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Thu Jul 14 15:13:10 2011 -0400
2.10
.gitignore | 1 +
perl-HTML-Template-manpages.patch | 86 +++++++------------------------------
perl-HTML-Template.spec | 15 +++----
sources | 2 +-
4 files changed, 24 insertions(+), 80 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f2e653e..4bb4d97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
HTML-Template-2.9.tar.gz
+/HTML-Template-2.10.tar.gz
diff --git a/perl-HTML-Template-manpages.patch b/perl-HTML-Template-manpages.patch
index e8fed10..0febe35 100644
--- a/perl-HTML-Template-manpages.patch
+++ b/perl-HTML-Template-manpages.patch
@@ -1,75 +1,21 @@
-diff -up HTML-Template-2.9/Template.pm.old HTML-Template-2.9/Template.pm
---- HTML-Template-2.9/Template.pm.old 2007-01-29 20:32:21.000000000 +0100
-+++ HTML-Template-2.9/Template.pm 2010-12-17 11:44:31.368712345 +0100
-@@ -14,7 +14,7 @@ extra tags, the simplest being <TMPL_VAR
- For example, test.tmpl:
-
- <html>
-- <head><title>Test Template</title>
-+ <head><title>Test Template</title></head>
- <body>
- My Home Directory is <TMPL_VAR NAME=HOME>
- <p>
-@@ -271,7 +271,7 @@ available. As a final attempt, the file
- directly. See below for more information on HTML_TEMPLATE_ROOT and
- the "path" option to new().
-
--As a protection against infinitly recursive includes, an arbitary
+diff -up HTML-Template-2.10/lib/HTML/Template.pm.old HTML-Template-2.10/lib/HTML/Template.pm
+--- HTML-Template-2.10/lib/HTML/Template.pm.old 2011-07-14 15:09:24.064824098 -0400
++++ HTML-Template-2.10/lib/HTML/Template.pm 2011-07-14 15:11:42.792823364 -0400
+@@ -298,7 +298,7 @@ if available. As a final attempt, the f
+ directly. See below for more information on C<HTML_TEMPLATE_ROOT>
+ and the C<path> option to C<new()>.
+
+-As a protection against infinitly recursive includes, an arbitrary
+As a protection against infinitely recursive includes, an arbitrary
limit of 10 levels deep is imposed. You can alter this limit with the
- "max_includes" option. See the entry for the "max_includes" option
+ C<max_includes> option. See the entry for the C<max_includes> option
below for more details.
-@@ -715,7 +715,7 @@ the order they appear:
- The old associateCGI() call is still supported, but should be
- considered obsolete.
-
--NOTE: The parameter names are matched in a case-insensitve manner. If
-+NOTE: The parameter names are matched in a case-insensitive manner. If
- you have two parameters in a CGI object like 'NAME' and 'Name' one
- will be chosen randomly by associate. This behavior can be changed by
- the following option.
-@@ -852,7 +852,7 @@ HTML::Template reads your template file
- template tags.
-
- In the most simple usage, you simply assign a code reference to the
--filter parameter. This subroutine will recieve a single argument - a
-+filter parameter. This subroutine will receive a single argument - a
- reference to a string containing the template file text. Here is an
- example that accepts templates with tags that look like "!!!ZAP_VAR
- FOO!!!" and transforms them into HTML::Template tags:
-@@ -867,7 +867,7 @@ FOO!!!" and transforms them into HTML::T
- filter => $filter);
+@@ -980,7 +980,7 @@ C<!!!ZAP_VAR FOO!!!> and transforms them
+ );
More complicated usages are possible. You can request that your
--filter receieve the template text as an array of lines rather than as
-+filter receive the template text as an array of lines rather than as
- a single scalar. To do that you need to specify your filter using a
- hash-ref. In this form you specify the filter using the C<sub> key and
- the desired argument format using the C<format> key. The available
-@@ -902,7 +902,7 @@ unless they declare a different escape i
-
- =back
-
--=back 4
-+=back
-
- =cut
-
-@@ -2428,7 +2428,7 @@ C<param()> can be called in a number of
- $self->param(PARAM => 'value');
-
- # with a subroutine reference that gets called to get the value
-- # of the scalar. The sub will recieve the template object as a
-+ # of the scalar. The sub will receive the template object as a
- # parameter.
- $self->param(PARAM => sub { return 'value' });
-
-@@ -3263,7 +3263,7 @@ Q: How can I execute a program from insi
-
- A: Short answer: you can't. Longer answer: you shouldn't since this
- violates the fundamental concept behind HTML::Template - that design
--and code should be seperate.
-+and code should be separate.
-
- But, inevitably some people still want to do it. If that describes
- you then you should take a look at
+-filter receieve the template text as an array of lines rather than
++filter receive the template text as an array of lines rather than
+ as a single scalar. To do that you need to specify your filter using
+ a hash-ref. In this form you specify the filter using the C<sub> key
+ and the desired argument format using the C<format> key. The available
diff --git a/perl-HTML-Template.spec b/perl-HTML-Template.spec
index e6abc79..940da8e 100644
--- a/perl-HTML-Template.spec
+++ b/perl-HTML-Template.spec
@@ -1,6 +1,6 @@
Name: perl-HTML-Template
-Version: 2.9
-Release: 11%{?dist}
+Version: 2.10
+Release: 1%{?dist}
Summary: Perl module to use HTML Templates
Group: Development/Libraries
@@ -40,7 +40,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -51,18 +50,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
TEST_SHARED_MEMORY=1 make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
-%doc ANNOUNCE ARTISTIC Changes FAQ GPL README
+%doc Changes LICENSE README
%{perl_vendorlib}/HTML/
%{_mandir}/man3/*.3pm*
%changelog
+* Thu Jul 14 2011 Tom Callaway <spot at fedoraproject.org> - 2.10-1
+- update to 2.10
+
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.9-11
- Perl mass rebuild
diff --git a/sources b/sources
index c66de81..b03268a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cbf88a486b36284be55765ac7357c187 HTML-Template-2.9.tar.gz
+49537aa239ab090698b9e1a0b0be7412 HTML-Template-2.10.tar.gz
More information about the scm-commits
mailing list