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.
I tested without libxslt in Requires:, but it is _not_ autodetected that
it is needed. (The patch2mail script calls xsltproc.)
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
Should I simply ignore these warnings or are this bugs in rpmlint?
BTW: Does the buildservice read the rpm changelog from
patch2mail.changes or do I have to include it in the spec directly?
Regards,
Christian Boltz
--
Hmm, wenn Du von CD aus Dein Linux-System booten kannst, dann scheint
vielleicht Dein MBR gerade Urlaub zu machen ;-)
[Martin Mewes in suse-linux]
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-packaging+help(a)opensuse.org