Hello community,
here is the log from the commit of package perl-HTML-Template for
openSUSE:Factory checked in at 2013-06-06 15:06:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-Template (Old)
and /work/SRC/openSUSE:Factory/.perl-HTML-Template.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTML-Template"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTML-Template/perl-HTML-Template.changes
2011-11-21 12:41:02.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-HTML-Template.new/perl-HTML-Template.changes
2013-06-06 15:06:07.000000000 +0200
@@ -1,0 +2,49 @@
+Wed Jun 5 07:23:01 UTC 2013 - [email protected]
+
+- updated to 2.94
+ - Fixed bug where options were bleeding over into subsequent calls to
new()
+ [Michael Peters]
+
+ - Feature: Added config() method to make setting global defaults
+ easy so that each call to new() has less boiler plate. [Michael
+ Peters]
+
+ - Bug Fix: t/05-force_untaint.t now passes when run with prove
+ [Michael Peters]
+
+ - Bug Fix: die_on_bad_params now controls whether we die if tmpl_vars
+ reuse names from tmpl_loops (which can be useful in some situations)
+ [Michael Peters]
+
+ - Feature: RT #18901 - Added new utf8 option to make it really simple
+ to use UTF-8 encoded templates [Michael Peters]
+
+ - Feature: RT #30586 - Added new open_mode option to allow for
+ Perl IO layers to interact when using open() on the template files
+ [[email protected] and Michael Peters]
+
+ - Feature: RT #38189 - Allow clean XML style tags "<tmpl_var foo />"
+ to be used as well. [[email protected]]
+
+ - Feature: RT #46285 - Added support for lazily-evaluated coderefs
+ for TMPL_LOOPs. [Justin DeVuyst and Michael Peters]
+
+ - Feature: RT #64797 - Added new option die_on_missing_include (defaults
+ to true) that allows users to turn off the behavior of dieing when an
+ include can't be found [Zdenek Styblik and Michael Peters]
+
+ - Feature: Add new cache_lazy_vars option so that the values from coderefs
+ used for TMPL_VARs can be cached and the coderef not run multiple times
+ [Michael Peters]
+
+ - Feature: Add new cache_lazy_loops option so that the values from coderefs
+ used for TMPL_LOOPs can be cached and the coderef not run multiple times
+ [Michael Peters]
+
+ - Feature: Added __even__, __outer__ and __index__ loop context vars.
+ [Michael Peters]
+
+ - Bug Fix: RT #26456 - force_untaint can't work in Perl < 5.8.0
+ [[email protected]]
+
+-------------------------------------------------------------------
Old:
----
HTML-Template-2.9.tar.gz
New:
----
HTML-Template-2.94.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-Template.spec ++++++
--- /var/tmp/diff_new_pack.tuiFcc/_old 2013-06-06 15:06:08.000000000 +0200
+++ /var/tmp/diff_new_pack.tuiFcc/_new 2013-06-06 15:06:08.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Template
#
-# Copyright (c) 2011 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
@@ -15,55 +15,58 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-HTML-Template
-Url: http://cpan.org/modules/by-module/HTML/
-License: GPL-2.0+
+Version: 2.94
+Release: 0
+%define cpan_name HTML-Template
+Summary: Perl module to use HTML-like templating language
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-AutoReqProv: on
-Summary: This Module Attempts to make using HTML Templates Simple and
Natural
-Version: 2.9
-Release: 113
-Source: HTML-Template-%{version}.tar.gz
+Url: http://search.cpan.org/dist/HTML-Template/
+Source:
http://www.cpan.org/authors/id/W/WO/WONKO/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
+#BuildRequires: perl(GTop)
+#BuildRequires: perl(HTML::Template)
+#BuildRequires: perl(IO::Capture)
+#BuildRequires: perl(IO::Capture::Tie_STDx)
+#BuildRequires: perl(IPC::SharedCache)
+%{perl_requires}
%description
-This allows you to separate design - the HTML - from the data, which
-you generate in the Perl script.
+This module attempts to make using HTML templates simple and natural. It
+extends standard HTML with a few new HTML-esque tags - '<TMPL_VAR>'
+'<TMPL_LOOP>', '<TMPL_INCLUDE>', '<TMPL_IF>', '<TMPL_ELSE>' and
+'<TMPL_UNLESS>'. The file written with HTML and these new tags is called a
+template. It is usually saved separate from your script - possibly even
+created by someone else! Using this module you fill in the values for the
+variables, loops and branches declared in the template. This allows you to
+separate design - the HTML - from the data, which you generate in the Perl
+script.
-
-
-Authors:
---------
- Sam Tregar <[email protected]>
+This module is licensed under the same terms as Perl. See the LICENSE
+section below for more details.
%prep
-%setup -q -n HTML-Template-%{version}
-# ---------------------------------------------------------------------------
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL
-make %{?_smp_mflags}
-# ---------------------------------------------------------------------------
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
%install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install_vendor
- %perl_process_packlist
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%doc %{_mandir}/man?/*
-%{perl_vendorarch}/auto/HTML
-%{perl_vendorlib}/HTML
-%doc ANNOUNCE ARTISTIC Changes FAQ GPL MANIFEST README
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc bench Changes LICENSE README scripts templates
%changelog
++++++ HTML-Template-2.9.tar.gz -> HTML-Template-2.94.tar.gz ++++++
++++ 13772 lines of diff (skipped)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]