Mailinglist Archive: opensuse-packaging (53 mails)

< Previous Next >
[opensuse-packaging] some "interesting" rpmlint warnings
  • From: Christian Boltz <opensuse@xxxxxxxxx>
  • Date: Sun, 20 Jul 2008 20:56:38 +0200
  • Message-id: <200807202056.42916@xxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >