]> granicus.if.org Git - icinga2/commitdiff
Recommend logrotate in icinga2-common
authorTim Hardeck <thardeck@suse.de>
Fri, 4 Jul 2014 09:18:31 +0000 (11:18 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 30 Jul 2014 11:02:10 +0000 (13:02 +0200)
Since we install a logrotate configuration file it does make sense to
at least recommend the installation of logrotate.
This addition is restricted to SUSE distributions since "Recommends"
is not supported elsewhere.

refs #5818

icinga2.spec

index e2a2619cfca34b27e248fc74485ca07a6d6f065d..0eb30ebf06f1bdcb12e1a5f93013449d9742f908 100644 (file)
@@ -158,6 +158,9 @@ Group:        Applications/System
 Requires(pre): shadow-utils
 Requires(post): shadow-utils
 %endif
+%if "%{_vendor}" == "suse"
+Recommends:   logrotate
+%endif
 
 %description common
 Provides common directories, uid and gid among Icinga 2 related