Dirk Mueller wrote:
On Wednesday 23 July 2008, Andreas Schneider wrote:
I think cron should be recommended for logrotate and not required. rpmlint should suggest to use
Recommend: cron
that depends on the usage. In any case, rpmlint accepts cron to be suggested, recommended or required.
Then the check doesn't work as expected. The section in the spec files: %if 0%{?suse_version} > 1030 Recommends: cron %endif The rpmlint warning: samba-winbind.x86_64: W: missing-dependency-to-logrotate for logrotate script /etc/logrotate.d/samba-winbind samba.x86_64: W: missing-dependency-to-logrotate for logrotate script /etc/logrotate.d/samba This package installs a file in /etc/logrotate.d/ but doesn't require logrotate to be installed. Because logrotate is not part of the essential packages, your package should explicitely depend on logrotate to make sure that your logrotate job is executed. If it is an optional feature of your package, recommend or suggest logrotate.
Greetings, Dirk
-- andreas