Skip to content

Commit

Permalink
Recommend logrotate in icinga2-common
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thardeck committed Jul 11, 2014
1 parent cc27203 commit b4c61fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions icinga2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4c61fc

Please sign in to comment.