Blame Text-Template-Simple-0.90-Fix-building-on-Perl-without-.-in-INC.patch

b6d59cd
From f9b0ae57d3eda068d9b2436743881ffdd60fff7f Mon Sep 17 00:00:00 2001
b6d59cd
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
b6d59cd
Date: Tue, 16 May 2017 11:23:08 +0200
b6d59cd
Subject: [PATCH] Fix building on Perl without "." in @INC
b6d59cd
MIME-Version: 1.0
b6d59cd
Content-Type: text/plain; charset=UTF-8
b6d59cd
Content-Transfer-Encoding: 8bit
b6d59cd
b6d59cd
Signed-off-by: Petr Písař <ppisar@redhat.com>
b6d59cd
---
b6d59cd
 builder/lib/Build/Spec.pm | 2 +-
b6d59cd
 1 file changed, 1 insertion(+), 1 deletion(-)
b6d59cd
b6d59cd
diff --git a/builder/lib/Build/Spec.pm b/builder/lib/Build/Spec.pm
b6d59cd
index 394132a..4605be2 100644
b6d59cd
--- a/builder/lib/Build/Spec.pm
b6d59cd
+++ b/builder/lib/Build/Spec.pm
b6d59cd
@@ -16,7 +16,7 @@ BEGIN {
b6d59cd
 sub spec {
b6d59cd
     my %opt  = @_;
b6d59cd
     my $file = 'SPEC';
b6d59cd
-    my $spec = do $file;
b6d59cd
+    my $spec = do "./$file";
b6d59cd
 
b6d59cd
     my %rv   =
b6d59cd
       $@                     ? do { croak $@ =~ OS_ERROR ? $@ : "Couldn't parse $file: $@" }
b6d59cd
-- 
b6d59cd
2.9.4
b6d59cd