0.31 bump
This commit is contained in:
parent
58bbdcfc91
commit
93a1aa4ad6
|
@ -2,3 +2,4 @@
|
|||
/Template-Toolkit-Simple-0.22.tar.gz
|
||||
/Template-Toolkit-Simple-0.24.tar.gz
|
||||
/Template-Toolkit-Simple-0.30.tar.gz
|
||||
/Template-Toolkit-Simple-0.31.tar.gz
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
From d7fb0da3b0e3cef95572e7635d6fcff6001e8419 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Thu, 31 Jul 2014 11:19:53 +0200
|
||||
Subject: [PATCH] Do not include relative ./lib
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Including paths relative to working directory is a security
|
||||
vulnerability. This patch removes the feature.
|
||||
|
||||
<https://github.com/ingydotnet/template-toolkit-simple-pm/issues/3>
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
bin/tt-render | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/bin/tt-render b/bin/tt-render
|
||||
index 60cfe3a..e881831 100644
|
||||
--- a/bin/tt-render
|
||||
+++ b/bin/tt-render
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
-use lib 'lib';
|
||||
use Template::Toolkit::Simple;
|
||||
|
||||
Template::Toolkit::Simple->_run_command(@ARGV);
|
||||
--
|
||||
1.9.3
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
Name: perl-Template-Toolkit-Simple
|
||||
Version: 0.30
|
||||
Release: 3%{?dist}
|
||||
Version: 0.31
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple interface to Template Toolkit
|
||||
# inc/Text/Diff.pm (not in binary package): GPLv2+ or Artistic
|
||||
# rest: GPL+ or Artistic
|
||||
|
@ -8,9 +8,6 @@ License: GPL+ or Artistic
|
|||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Template-Toolkit-Simple/
|
||||
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Template-Toolkit-Simple-%{version}.tar.gz
|
||||
# Do not load modules from ./lib because it's not secure,
|
||||
# https://github.com/ingydotnet/template-toolkit-simple-pm/issues/3
|
||||
Patch0: Template-Toolkit-Simple-0.24-Do-not-include-relative-.-lib.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
|
@ -62,11 +59,10 @@ version.
|
|||
|
||||
%prep
|
||||
%setup -q -n Template-Toolkit-Simple-%{version}
|
||||
%patch0 -p1
|
||||
# Remove bundled modules
|
||||
rm -r ./inc
|
||||
sed -i -e '/^inc\//d' MANIFEST
|
||||
# Fix shebang
|
||||
# Fix shellbang
|
||||
sed -i -e '1 s,^#!/usr/bin/env perl,#!perl,' bin/tt-render
|
||||
|
||||
%build
|
||||
|
@ -95,6 +91,9 @@ make test
|
|||
%{_bindir}/tt-render
|
||||
|
||||
%changelog
|
||||
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 0.31-1
|
||||
- 0.31 bump
|
||||
|
||||
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-3
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue