Skip Menu |

This queue is for tickets about the Text-Template-Simple CPAN distribution.

Report information
The Basics
Id: 121697
Status: resolved
Priority: 0/
Queue: Text-Template-Simple

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.90
Fixed in: 0.91



Subject: Build.PL fails on Perl without "." in @INC
Perl 5.26.0 removes "." from @INC and Text-Template-Simple-0.90 fails: $ perl Build.PL do "SPEC" failed, '.' is no longer in @INC; did you mean do "./SPEC"? at builder/lib/Build/Spec.pm line 19. Couldn't do SPEC: No such file or directory at builder/lib/Build.pm line 42. A fix is attached.
Subject: Text-Template-Simple-0.90-Fix-building-on-Perl-without-.-in-INC.patch
From f9b0ae57d3eda068d9b2436743881ffdd60fff7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Tue, 16 May 2017 11:23:08 +0200 Subject: [PATCH] Fix building on Perl without "." in @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař <ppisar@redhat.com> --- builder/lib/Build/Spec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/lib/Build/Spec.pm b/builder/lib/Build/Spec.pm index 394132a..4605be2 100644 --- a/builder/lib/Build/Spec.pm +++ b/builder/lib/Build/Spec.pm @@ -16,7 +16,7 @@ BEGIN { sub spec { my %opt = @_; my $file = 'SPEC'; - my $spec = do $file; + my $spec = do "./$file"; my %rv = $@ ? do { croak $@ =~ OS_ERROR ? $@ : "Couldn't parse $file: $@" } -- 2.9.4
This is now fixed.