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
parent 448be60003
commit a0bac69f97

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