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 authored and gunnarbeutner committed Jul 30, 2014
1 parent c3a9251 commit a090eb0
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 @@ -498,6 +498,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 a090eb0

Please sign in to comment.