Christian Boltz escribió:
Hello,
I found some "interesting" rpmlint warnings with my package "patch2mail" in home:cboltz.
patch2mail.noarch: W: explicit-lib-dependency libxslt You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags.
that's right, Require /usr/bin/xsltproc instead, the package that contains /usr/bin/xsltproc may be renamed at anytime and will break yours ! ;, I have checked out your package, there is a patch attached with some cleanups ;-)
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
That may be a bug.. probably Dirk knows about it.. "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/