RPM: Let php-Icinga require Zend and Zend's MySQL and PostgreSQL adapters
This installs both the MySQL and PostgreSQL libs even if the user only wants to use either MySQL or PostgreSQL. But the depencies installed--mysql-libs and postgresql-libs respectively--are so minimal that this is a good trade off for managing our dependencies atm. fixes #9314
This commit is contained in:
parent
ce2b686252
commit
45ef285e3d
|
@ -46,8 +46,6 @@ Requires: %{name}-vendor-HTMLPurifier
|
||||||
Requires: %{name}-vendor-JShrink
|
Requires: %{name}-vendor-JShrink
|
||||||
Requires: %{name}-vendor-lessphp
|
Requires: %{name}-vendor-lessphp
|
||||||
Requires: %{name}-vendor-Parsedown
|
Requires: %{name}-vendor-Parsedown
|
||||||
Requires: %{zend}
|
|
||||||
Obsoletes: %{name}-vendor-zend
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -84,6 +82,10 @@ Requires: %{php}-gd %{php}-intl
|
||||||
%{?fedora:Requires: php-pecl-imagick}
|
%{?fedora:Requires: php-pecl-imagick}
|
||||||
%{?rhel:Requires: php-pecl-imagick}
|
%{?rhel:Requires: php-pecl-imagick}
|
||||||
%{?suse_version:Requires: %{php}-gettext %{php}-json %{php}-openssl %{php}-posix}
|
%{?suse_version:Requires: %{php}-gettext %{php}-json %{php}-openssl %{php}-posix}
|
||||||
|
Requires: %{zend}
|
||||||
|
Obsoletes: %{name}-vendor-zend
|
||||||
|
Requires: %{zend}-Db-Adapter-Pdo-Mysql
|
||||||
|
Requires: %{zend}-Db-Adapter-Pdo-Pgsql
|
||||||
|
|
||||||
%description -n php-Icinga
|
%description -n php-Icinga
|
||||||
Icinga Web 2 PHP library
|
Icinga Web 2 PHP library
|
||||||
|
|
Loading…
Reference in New Issue