Do not require perl-generators on systems where this package does not exist

This commit is contained in:
Honza Horak 2016-07-13 20:12:17 +02:00 committed by Michal Schorm
parent 478419c22a
commit a75507f56c

View File

@ -143,7 +143,9 @@ BuildRequires: lz4-devel
BuildRequires: mecab-devel
BuildRequires: openssl-devel
BuildRequires: perl
%if 0%{?fedora} > 24 || 0%{?rhel} > 7
BuildRequires: perl-generators
%endif
BuildRequires: systemtap-sdt-devel
BuildRequires: zlib-devel
BuildRequires: multilib-rpm-config