Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
[opensuse-buildservice] Need help to clean out some rpmlint warnings - ramlog
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 04 Aug 2009 17:02:24 +1000
  • Message-id: <228353f8bce8e32ee234d321090decf3@xxxxxxxxxxxxxxxxxxxxxxx>
Hello,
Thanks for all your help to date.

I'm just going the RPMLINT report messages and have these two left to
resolve:

ramlog.noarch: W: no-version-in-last-changelog
ramlog.src: W: no-version-in-last-changelog
The last changelog entry doesn't contain a version. Please insert the
version
that is coherent with the version of the package and rebuild it.

Question:
Currently the following is in the changelog section, it looks o.k to me I
see a version number , what should the lines be formatted like ,or what am
I missing ?

%changelog
* Sun Jun 08 2008 Jan Andrejkovic <jandrejkovic@xxxxxxxxx>
- version 1.1.0 released:
- added support for Ubuntu
- added support for SELinux - now ramlog saves security context
of all files in /var/log
- logs are saved to HDD even if stop is not successful
- added logging feature
- created .deb package for Ubuntu
- fixed some bugs

* Wed Jan 13 2008 Jan Andrejkovic <jandrejkovic@xxxxxxxxx>
- first version 1.0.0 released
- created .rpm package

Question:The next one I need an example on this can be fixed, can you
provide an example ?

ramlog.noarch: W: incoherent-subsys /etc/init.d/ramlog $prog
The filename of your lock file in /var/lock/subsys/ is incoherent with your
actual init script name. For example, if your script name is httpd, you
have
to use 'httpd' as the filename in your subsys directory. It is also
possible
that rpmlint gets this wrong, especially if the init script contains
nontrivial shell variables and/or assignments. These cases usually manifest
themselves when rpmlint reports that the subsys name starts a with '$'; in
these cases a warning instead of an error is reported and you should check
the
script manually.

The content of the built rpm listing is as follows:
# rpm -qlp ramlog-1.1.0-19.1.noarch.rpm
warning: ramlog-1.1.0-19.1.noarch.rpm: Header V3 DSA signature: NOKEY, key
ID fb666c9e
/etc/cron.daily/ramlog
/etc/init.d/ramlog
/usr/share/doc/packages/ramlog
/usr/share/doc/packages/ramlog/COPYING
/usr/share/doc/packages/ramlog/ChangeLog
/usr/share/doc/packages/ramlog/FAQ
/usr/share/doc/packages/ramlog/INSTALL
/usr/share/doc/packages/ramlog/README
/usr/share/doc/packages/ramlog/VERSION
/usr/share/man/man8/ramlog.8.gz

References
https://build.opensuse.org/package/show?package=ramlog&project=home%3Adoiggl
https://build.opensuse.org/package/view_file?file=ramlog.spec&package=ramlog&project=home%3Adoiggl

Thanks Glenn
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages