23 Jul
2008
23 Jul
'08
07:25
On Sunday 20 July 2008 20:56:38 you wrote:
Hello,
Hi,
patch2mail.noarch: W: missing-dependency-to-cron for logrotate
script /etc/cron.daily/patch2mail
This package installs a file in /etc/logrotate.d/ or in /etc/cron.*/
but doesn't require cron to be installed. as cron is not part of the
essential packages, your package should explicitely require cron to
make sure that your logrotate or cron job is executed.
Hmm, what's wrong with my Requires: line? It already includes cron...
Requires: bash mktemp mail grep zypper coreutils net-tools cron libxslt
I think cron should be recommended for logrotate and not required. rpmlint should suggest to use Recommend: cron -- andreas