[perl-HTML-Template-Pro] Update to 0.0509 and add default perl filter

Emmanuel Seyman eseyman at fedoraproject.org
Thu Oct 4 19:55:18 UTC 2012


commit 8ad8f217043fb849077a4519218134594df066f6
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Thu Oct 4 21:55:09 2012 +0200

    Update to 0.0509 and add default perl filter

 .gitignore                  |    1 +
 perl-HTML-Template-Pro.spec |   19 +++++++++----------
 sources                     |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b585b34..07dc275 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 HTML-Template-Pro-0.95.tar.gz
 /HTML-Template-Pro-0.9504.tar.gz
 /HTML-Template-Pro-0.9505.tar.gz
+/HTML-Template-Pro-0.9509.tar.gz
diff --git a/perl-HTML-Template-Pro.spec b/perl-HTML-Template-Pro.spec
index 421f5ef..3ea619a 100644
--- a/perl-HTML-Template-Pro.spec
+++ b/perl-HTML-Template-Pro.spec
@@ -1,30 +1,25 @@
-# Upstream versioning is broken, they use
-# 0.12 < 0.1234 < 0.13 even though numerically 1234 > 13
-%global cpan_version 0.9505
-# We simply add a full stop after first two-digit group to work around
-%global sane_version %(echo %{cpan_version} |sed 's/\\(\\.[0-9][0-9]\\)/\\1./')
-
 Name:           perl-HTML-Template-Pro
-Version:        %{sane_version}
-Release:        5%{?dist}
+Version:        0.9509
+Release:        1%{?dist}
 Summary:        Perl/XS module to use HTML Templates from CGI scripts
 License:        GPL+ or Artistic or LGPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-Template-Pro/
-Source0:        http://www.cpan.org/authors/id/V/VI/VIY/HTML-Template-Pro-%{cpan_version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/V/VI/VIY/HTML-Template-Pro-%{version}.tar.gz
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:  pcre-devel
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(JSON)
 
+%{?perl_default_filter}
 
 %description
 A fast and lightweight C/Perl+XS HTML Template engine implementation.
 
 
 %prep
-%setup -q -n HTML-Template-Pro-%{cpan_version}
+%setup -q -n HTML-Template-Pro-%{version}
 
 
 %build
@@ -54,6 +49,10 @@ make test
 
 
 %changelog
+* Thu Oct 04 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.9509-1
+- Update to 0.9509 (CVE-2011-4616, #773453)
+- Add default perl filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.95.05-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 5e0d2df..112d3a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9a2b09b8a46bee5be98f9e6f50565976  HTML-Template-Pro-0.9505.tar.gz
+d34d0952a1ac27ef826775a979c4edc9  HTML-Template-Pro-0.9509.tar.gz


More information about the scm-commits mailing list