Blame Alien-ROOT-v5.34.36.1-Disable-build-time-check-for-Root.patch

91b032c
From 2cef69d05e60ecaa497f50d6764f046a097a2e81 Mon Sep 17 00:00:00 2001
91b032c
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
91b032c
Date: Mon, 7 Nov 2016 15:52:51 +0100
91b032c
Subject: [PATCH] Disable build-time check for Root
91b032c
MIME-Version: 1.0
91b032c
Content-Type: text/plain; charset=UTF-8
91b032c
Content-Transfer-Encoding: 8bit
91b032c
91b032c
We ensure Root presence by RPM dependencies. Checking the Root at
91b032c
build-time prevents from building this architecture-agnosic package on
91b032c
platforms where Root is unsupported.
91b032c
91b032c
Signed-off-by: Petr Písař <ppisar@redhat.com>
91b032c
---
91b032c
 Build.PL | 2 +-
91b032c
 1 file changed, 1 insertion(+), 1 deletion(-)
91b032c
91b032c
diff --git a/Build.PL b/Build.PL
91b032c
index f521a64..38fd5bf 100644
91b032c
--- a/Build.PL
91b032c
+++ b/Build.PL
91b032c
@@ -83,7 +83,7 @@ use Alien::ROOT;
91b032c
 my $aroot = Alien::ROOT->new();
91b032c
 $builder->notes(build_ROOT => 0);
91b032c
 
91b032c
-if (not $aroot->installed or $USER_CONFIG->{force_recompile}) {
91b032c
+if (0) {
91b032c
   if ($ENV{AUTOMATED_TESTING}) {
91b032c
     exit(0); # Do not create pain for CPAN testers...
91b032c
   }
91b032c
-- 
91b032c
2.7.4
91b032c