============================ rpmlint session starts ============================ rpmlint: 2.6.1 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/cockpit-rpmlintrc checks: 41, packages: 13 cockpit-bridge.armv7hl: E: zero-length /usr/share/cockpit/base1/cockpit.js.LEGAL.txt cockpit-ws.armv7hl: E: zero-length /usr/share/cockpit/branding/opensuse/default-1920x1200.jpg cockpit-ws.armv7hl: E: zero-length /usr/share/cockpit/static/login.css.LEGAL.txt cockpit-ws.armv7hl: E: zero-length /usr/share/cockpit/static/login.js.LEGAL.txt cockpit-kdump.noarch: E: zero-length /usr/share/cockpit/kdump/kdump.css.LEGAL.txt cockpit-networkmanager.noarch: E: zero-length /usr/share/cockpit/networkmanager/firewall.css.LEGAL.txt cockpit-networkmanager.noarch: E: zero-length /usr/share/cockpit/networkmanager/networkmanager.css.LEGAL.txt cockpit-packagekit.noarch: E: zero-length /usr/share/cockpit/apps/apps.css.LEGAL.txt cockpit-packagekit.noarch: E: zero-length /usr/share/cockpit/packagekit/updates.css.LEGAL.txt cockpit-selinux.noarch: E: zero-length /usr/share/cockpit/selinux/selinux.css.LEGAL.txt cockpit-storaged.noarch: E: zero-length /usr/share/cockpit/storaged/storaged.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/metrics/index.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/shell/shell.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/systemd/hwinfo.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/systemd/logs.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/systemd/overview.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/systemd/services.css.LEGAL.txt cockpit-system.noarch: E: zero-length /usr/share/cockpit/users/users.css.LEGAL.txt cockpit.src: E: unused-rpmlintrc-filter "explicit-lib-dependency.*libvirt-client" cockpit-ws.armv7hl: W: tmpfile-not-in-filelist /run/cockpit/active.motd Please add the specified file to your %files section as %ghost so users can easily query who created the file, it gets uninstalled on package removal and finally other rpmlint checks see it. cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-motd.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-ws-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-https-factory.socket The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-motd.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-ws-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-https-factory.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit.socket The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-motd.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-ws-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-https-factory.socket The package contains a systemd service but doesn't contain a %post with a call to service_add_post. cockpit.src: W: source-not-compressed gz cockpit-suse-theme.tar A source archive or file in your package is not compressed using the gz compression method (doesn't have the gz extension). cockpit-devel.armv7hl: W: potential-bashisms /usr/share/cockpit/devel/lib/kernelopt.sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. cockpit-ws.armv7hl: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/cockpit-ws.conf Please use the %tmpfiles_create macro in %post for each of your tmpfiles.d files if you expect this file or directory to be available after package installation (and before reboot). cockpit-ws.armv7hl: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/libexec/cockpit-session Please add a %verifyscript section cockpit-system.noarch: W: obsolete-not-provided cockpit-dashboard If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. cockpit-ws.armv7hl: W: non-standard-gid /usr/libexec/cockpit-session cockpit-wsinstance A file in this package is owned by an unregistered group id. To register the group, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. cockpit-bridge.armv7hl: E: non-executable-script /usr/lib/python3.11/site-packages/cockpit/_vendor/ferny/interaction_client.py 644 /usr/bin/python3 cockpit-devel.armv7hl: E: non-executable-script /usr/share/cockpit/devel/lib/credentials-ssh-private-keys.sh 644 /bin/sh cockpit-devel.armv7hl: E: non-executable-script /usr/share/cockpit/devel/lib/credentials-ssh-remove-key.sh 644 /bin/sh This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. cockpit.armv7hl: E: no-binary cockpit-devel.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. cockpit.spec:28: W: macro-in-comment %{version} cockpit.spec:31: W: macro-in-comment %{centos} cockpit.spec:314: W: macro-in-comment %ghost cockpit.spec:424: W: macro-in-comment %dir cockpit.spec:424: W: macro-in-comment %{_datadir} cockpit.spec:425: W: macro-in-comment %{buildroot} cockpit.spec:425: W: macro-in-comment %{_datadir} cockpit.spec:619: W: macro-in-comment %post There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. cockpit-ws.armv7hl: W: files-duplicate /usr/share/cockpit/branding/registry/branding.css /usr/share/cockpit/branding/kubernetes/branding.css cockpit-networkmanager.noarch: W: files-duplicate /usr/share/cockpit/networkmanager/networkmanager.js.LEGAL.txt /usr/share/cockpit/networkmanager/firewall.js.LEGAL.txt cockpit-packagekit.noarch: W: files-duplicate /usr/share/cockpit/packagekit/updates.js.LEGAL.txt /usr/share/cockpit/apps/apps.js.LEGAL.txt cockpit-system.noarch: W: files-duplicate /usr/share/cockpit/users/users.js.LEGAL.txt /usr/share/cockpit/metrics/index.js.LEGAL.txt:/usr/share/cockpit/shell/shell.js.LEGAL.txt:/usr/share/cockpit/systemd/hwinfo.js.LEGAL.txt:/usr/share/cockpit/systemd/logs.js.LEGAL.txt:/usr/share/cockpit/systemd/overview.js.LEGAL.txt:(and 2 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. cockpit-ws.armv7hl: E: branding-requires-unversioned wallpaper-branding Please make sure that your requires entry is similar to: 'Requires: %name-branding = ' Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.0 39.1 BashismsCheck 0.5 18.0 SignatureCheck 0.4 15.4 BinariesCheck 0.2 7.9 FilesCheck 0.1 5.3 TOTAL 2.5 100.0 13 packages and 0 specfiles checked; 42 errors, 19 warnings, 63 filtered, 42 badness; has taken 2.6 s