============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /opt/testing/lib/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 4 cronie-anacron.i586: W: non-conffile-in-etc /etc/cron.hourly/0anacron A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. cron.i586: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. cronie.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. cron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.d cron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.daily cron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.hourly cron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.monthly cron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.weekly cronie.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.deny cronie-anacron.i586: E: missing-dependency-to-crontabs for cron script /etc/cron.hourly/0anacron This package installs a file in /etc/cron.*/ but doesn't require crontabs to be installed. As crontabs is not part of the essential packages, your package should explicitely require crontabs to make sure that your cron job is executed. If it is an optional feature of your package, recommend or suggest crontabs. cronie.i586: W: missing-call-to-setgroups-before-setuid /usr/bin/crontab This executable is calling setuid and setgid without setgroups or initgroups. This means it didn't relinquish all groups, and this would be a potential security issue. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 0.2 42.0 TOTAL 0.4 100.0 4 packages and 0 specfiles checked; 8 errors, 3 warnings, 18 filtered, 8 badness; has taken 0.4 s