]> granicus.if.org Git - icinga2/commitdiff
Recommend related packages on SUSE distributions
authorTim Hardeck <thardeck@suse.de>
Thu, 14 Aug 2014 15:34:26 +0000 (17:34 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 17 Aug 2014 10:47:49 +0000 (12:47 +0200)
These packages are installed by default but they are not required so
there is no error if they are missing.

This should make the installation of Icinga2 more user friendly on SUSE
distributions.

refs #6920

icinga2.spec

index d88134eb1cda89964e9643caad87709851ef2309..0d229cd5cd10f722b152c026b5f1324066af583b 100644 (file)
@@ -83,7 +83,8 @@ Group:        Applications/System
 
 Requires: python-%{name} = %{version}
 %if "%{_vendor}" == "suse"
-PreReq: permissions
+PreReq:        permissions
+Recommends:    monitoring-plugins
 %endif
 BuildRequires: openssl-devel
 BuildRequires: gcc-c++
@@ -167,6 +168,9 @@ Group:        Applications/System
 BuildRequires: %{apachename}
 Requires:     %{apachename}
 Requires:     %{name} = %{version}-%{release}
+%if "%{_vendor}" == "suse"
+Recommends:   icinga-www
+%endif
 Provides:     icinga-classicui-config
 Conflicts:    icinga-gui-config