diff --git a/perl-JSON-Path.spec b/perl-JSON-Path.spec index 31190ea..f87ea21 100644 --- a/perl-JSON-Path.spec +++ b/perl-JSON-Path.spec @@ -41,7 +41,7 @@ BuildRequires: perl(LV) # Those are only needed when building for RHEL, on Fedora they come in as # dependencies of the above -%if 0%{?rhel} < 7 +%if 0%{?rhel} && 0%{?rhel} < 7 BuildRequires: perl(CPAN) %endif