commit fa2c85837a127c570cacc4c2d277fc38e26495bd Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Fri Dec 17 14:01:12 2010 +0100 add man page fixes from Debian perl-HTML-Template-manpages.patch | 75 +++++++++++++++++++++++++++++++++++++ perl-HTML-Template.spec | 3 +- 2 files changed, 77 insertions(+), 1 deletions(-) --- diff --git a/perl-HTML-Template-manpages.patch b/perl-HTML-Template-manpages.patch new file mode 100644 index 0000000..e8fed10 --- /dev/null +++ b/perl-HTML-Template-manpages.patch @@ -0,0 +1,75 @@ +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 ++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 + 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); + + 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 diff --git a/perl-HTML-Template.spec b/perl-HTML-Template.spec index 8d81c3f..2317c64 100644 --- a/perl-HTML-Template.spec +++ b/perl-HTML-Template.spec @@ -7,7 +7,7 @@ Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/HTML-Template/ Source0: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: perl-HTML-Template-manpages.patch BuildArch: noarch BuildRequires: perl(CGI) @@ -65,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT * Fri Dec 17 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.9-8 - 661697 rebuild for fixing problems with vendorach/lib - add missing BR CGI +- add man page fixes from Debian * Sun May 02 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.9-7 - Mass rebuild with perl-5.12.0 -- 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