commit d11c3aabed1c8f068a4020938145f56081a7b87b Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Aug 12 16:39:32 2014 +0200 0.24 bump .gitignore | 1 + ...Simple-0.24-Do-not-include-relative-.-lib.patch | 6 +++--- perl-Template-Toolkit-Simple.spec | 11 ++++++++--- sources | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) --- diff --git a/.gitignore b/.gitignore index a23e0b6..04a4037 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Template-Toolkit-Simple-0.19.tar.gz /Template-Toolkit-Simple-0.22.tar.gz +/Template-Toolkit-Simple-0.24.tar.gz diff --git a/Template-Toolkit-Simple-0.19-Do-not-include-relative-.-lib.patch b/Template-Toolkit-Simple-0.24-Do-not-include-relative-.-lib.patch similarity index 86% rename from Template-Toolkit-Simple-0.19-Do-not-include-relative-.-lib.patch rename to Template-Toolkit-Simple-0.24-Do-not-include-relative-.-lib.patch index b7a6dc8..10b9d2f 100644 --- a/Template-Toolkit-Simple-0.19-Do-not-include-relative-.-lib.patch +++ b/Template-Toolkit-Simple-0.24-Do-not-include-relative-.-lib.patch @@ -1,4 +1,4 @@ -From a576c23b02f501a8c528fe776c113d1d0ca6f1d1 Mon Sep 17 00:00:00 2001 +From d7fb0da3b0e3cef95572e7635d6fcff6001e8419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Thu, 31 Jul 2014 11:19:53 +0200 Subject: [PATCH] Do not include relative ./lib @@ -17,11 +17,11 @@ Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx> 1 file changed, 1 deletion(-) diff --git a/bin/tt-render b/bin/tt-render -index c4a20dd..5819254 100644 +index 60cfe3a..e881831 100644 --- a/bin/tt-render +++ b/bin/tt-render @@ -1,6 +1,5 @@ - #!/usr/bin/perl + #!/usr/bin/env perl -use lib 'lib'; use Template::Toolkit::Simple; diff --git a/perl-Template-Toolkit-Simple.spec b/perl-Template-Toolkit-Simple.spec index a4da25b..033e98d 100644 --- a/perl-Template-Toolkit-Simple.spec +++ b/perl-Template-Toolkit-Simple.spec @@ -1,6 +1,6 @@ Name: perl-Template-Toolkit-Simple -Version: 0.22 -Release: 2%{?dist} +Version: 0.24 +Release: 1%{?dist} Summary: Simple interface to Template Toolkit # inc/Text/Diff.pm (not in binary package): GPLv2+ or Artistic # rest: GPL+ or Artistic @@ -10,7 +10,7 @@ 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.19-Do-not-include-relative-.-lib.patch +Patch0: Template-Toolkit-Simple-0.24-Do-not-include-relative-.-lib.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 @@ -65,6 +65,8 @@ version. # Remove bundled modules rm -r ./inc sed -i -e '/^inc\//d' MANIFEST +# Fix shebang +sed -i -e '1 s,^#!/usr/bin/env perl,#!perl,' bin/tt-render %build perl Makefile.PL INSTALLDIRS=vendor @@ -92,6 +94,9 @@ make test %{_bindir}/tt-render %changelog +* Tue Aug 12 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.24-1 +- 0.24 bump + * Thu Aug 07 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.22-2 - Finish perl-TestML bootstrap diff --git a/sources b/sources index 3650ab2..9177ddf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -855127e9ef1f6dddfb4b247fc95b11f3 Template-Toolkit-Simple-0.22.tar.gz +304d0198474ba693477a8d8c05f3e19f Template-Toolkit-Simple-0.24.tar.gz -- 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