Skip to content

Commit

Permalink
rpm: Cover all dependencies
Browse files Browse the repository at this point in the history
fixes #6302
refs #4075
  • Loading branch information
lippserd committed Jan 19, 2015
1 parent 8c8e3e4 commit d275bc0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions icingaweb2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Icinga Web 2
%define logdir %{_localstatedir}/log/%{name}
%define phpdir %{_datadir}/php
%define icingawebgroup icingaweb2
%define docsdir %{_datadir}/doc/%{name}
%define docsdir %{_datadir}/doc/%{name}


%package common
Expand All @@ -79,7 +79,10 @@ Common files for Icinga Web 2 and the Icinga CLI
Summary: Icinga Web 2 PHP library
Group: Development/Libraries
Requires: %{php} >= 5.3.0
%{?suse_version:Requires: %{php}-gettext %{php}-openssl}
Requires: %{php}-gd %{php}-intl
%{?fedora:Requires: php-pecl-imagick}
%{?rhel:Requires: php-pecl-imagick}
%{?suse_version:Requires: %{php}-gettext %{php}-openssl php5-imagick}

%description -n php-Icinga
Icinga Web 2 PHP library
Expand All @@ -90,9 +93,9 @@ Summary: Icinga CLI
Group: Applications/System
Requires: %{name}-common = %{version}-%{release}
Requires: php-Icinga = %{version}-%{release}
%{?fedora:Requires: %{php_cli} >= 5.3.0 bash-completion}
%{?rhel:Requires: %{php_cli} >= 5.3.0 bash-completion}
%{?suse_version:Requires: %{php} >= 5.3.0}
%{?rhel:Requires: %{php_cli} >= 5.3.0}
%{?rhel:Requires: bash-completion}

%description -n icingacli
Icinga CLI
Expand Down

0 comments on commit d275bc0

Please sign in to comment.