From 747efdd3fa066e58c11eef41ebad43da547b431f Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 16 Nov 2015 16:42:33 +0100 Subject: [PATCH] RPM: Only require Zend db adapters for RedHat derivates refs #10328 --- icingaweb2.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icingaweb2.spec b/icingaweb2.spec index 20189bf2c..feaf6490a 100644 --- a/icingaweb2.spec +++ b/icingaweb2.spec @@ -83,8 +83,9 @@ Requires: %{php}-gd %{php}-intl %{?rhel:Requires: php-pecl-imagick} %{?suse_version:Requires: %{php}-gettext %{php}-json %{php}-openssl %{php}-posix} Requires: %{zend} -Requires: %{zend}-Db-Adapter-Pdo-Mysql -Requires: %{zend}-Db-Adapter-Pdo-Pgsql +%{?amzn:Requires: %{zend}-Db-Adapter-Pdo-Mysql %{zend}-Db-Adapter-Pdo-Pgsql} +%{?fedora:Requires: %{zend}-Db-Adapter-Pdo-Mysql %{zend}-Db-Adapter-Pdo-Pgsql} +%{?rhel:Requires: %{zend}-Db-Adapter-Pdo-Mysql %{zend}-Db-Adapter-Pdo-Pgsql} %description -n php-Icinga Icinga Web 2 PHP library