Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
Re: [opensuse-buildservice] Problems with rpmlint?
  • From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
  • Date: Thu, 14 Aug 2008 17:01:56 -0600
  • Message-id: <alpine.LNX.1.10.0808141653280.17464@xxxxxxxxxxxxxxx>
On Thu, 14 Aug 2008, Boyd Lynn Gerber wrote:
I really do not understand a lot of the rpmlint junk. For example in

Package python-postfix-policyd-spf (Project home:gerberb)

I have in my spec file.

# Requires: python cron

I have also tried

# Requires: python
# Requires: cron

But I get this error message.
python-policyd-spf.noarch: W: missing-dependency-to-cron for logrotate
script /etc/cron.d/policyd-spf

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.

But as you can see it does require cron..

I get ... missing-dependency-to-cron for logrotate script
/etc/cron.d/policyd-spf, but I have a Require cron in the spec file as
noted above.

It seems I am always getting the opposite of what I try to fix. It is
like there is no way to appease these rpmlint requirements. For example

I get hardcoded-packager-tag Boyd, but when I remove it I get an error
that it is missing. The packager tag.

There is no %changelog tag in your spec file. To insert it, just insert a
'%changelog' in your spec file and rebuild it.

but there is a %changelog in my spec file.

I get a lot of these.
script-without-shebang /usr/lib/policyd-spf/

I want /usr/share/doc/packages/python-policyd-spf/ directory only with
755 but then I get the files being +x. Forcing a chmod does not seem to
fix the rpmlint problem.

I want files g+r,o+r in the directories. I get errors no matter what I

My source untared is exactly the way I want them. I want just a cp -p to
be done.

what ever I do to fix the error reported, I get the opposite when I do the

I am really frustrated with the rpmlint stuff.

Any ideas? I have even a bigger problem with games:vultures. I think if
I can understand in my playground I can fix them in the other locations.


Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups