Skip to content

Commit

Permalink
Add log directory to icinga2-common
Browse files Browse the repository at this point in the history
RPMLint complains if logrotate is used without including the log directory in the package.

refs #5818
  • Loading branch information
thardeck committed Jul 11, 2014
1 parent 4bd9a50 commit 7330e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions icinga2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ exit 0
%files common
%defattr(-,root,root,-)
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog tools/syntax
%attr(0755,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/perfdata
Expand Down

0 comments on commit 7330e54

Please sign in to comment.