From de11f416a900d46de58f822448e7f06dc466155d Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Wed, 26 Jul 2017 11:08:03 -0500 Subject: [PATCH] Add conditional for perl-interpreter which isn't available in EPEL. --- abi-dumper.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/abi-dumper.spec b/abi-dumper.spec index 09e4b3e..a5b9ed6 100644 --- a/abi-dumper.spec +++ b/abi-dumper.spec @@ -10,7 +10,11 @@ Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name BuildArch: noarch BuildRequires: coreutils +%if 0%{?rhel} +BuildRequires: perl +%else BuildRequires: perl-interpreter +%endif BuildRequires: perl-generators BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper)