Bug ID 932789
Summary Misleading rpmlint warnings due failing checks
Classification openSUSE
Product openSUSE Factory
Version 201505*
Hardware All
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter werner@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

[  132s] man.x86_64: W: postin-without-tmpfile-creation
/usr/lib/tmpfiles.d/man-db.conf
[  132s] Please use the %tmpfiles_create macro in %post for each of your
tmpfiles.d
[  132s] files

[  132s] man.x86_64: W: missing-dependency-to-cron for cron script
/etc/cron.daily/suse-do_mandb
[  132s] man.x86_64: W: missing-dependency-to-cron for cron script
/etc/cron.daily/suse-clean_catman
[  132s] This package installs a file in /etc/cron.*/ but doesn't require cron
to be
[  132s] installed. as cron is not part of the essential packages, your package
should
[  132s] explicitely require cron to make sure that your cron job is executed.
If it is
[  132s] an optional feature of your package, recommend or suggest cron.

But:

werner/mandb> grep -B 1 -E 'cron|tmpfiles_create' man.spec
Provides:       man_db
Requires:       cronie
--
Source:        
http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz
Source1:        sysconfig.cron-man
Source2:        cron.daily.do_mandb
Source3:        cron.daily.clean_catman
--
    mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
    mkdir -p %{buildroot}/etc/cron.daily
    install -m 0644 %{SOURCE1}
%{buildroot}%{_localstatedir}/adm/fillup-templates
    install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb
    install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman
--
%post
%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf}
%{fillup_only -an cron}
--
%config /etc/manpath.config
%attr(0744,root,root) /etc/cron.daily/suse-clean_catman
%attr(0744,root,root) /etc/cron.daily/suse-do_mandb
--
%ghost %{_localstatedir}/cache/man/*
%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man


You are receiving this mail because: