From a75507f56c1f12dcf04615a8f4b55193babc9769 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Wed, 13 Jul 2016 20:12:17 +0200 Subject: [PATCH] Do not require perl-generators on systems where this package does not exist --- community-mysql.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/community-mysql.spec b/community-mysql.spec index 1a3af42..59b6025 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -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