============================ 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 checks: 41, packages: 18 util-linux.armv6hl: W: self-obsoletion eject <= 2.1.0 obsoletes eject = 2.1.0 util-linux.armv6hl: W: self-obsoletion login <= 4.0 obsoletes login = 4.0 util-linux.armv6hl: W: self-obsoletion rfkill <= 0.5 obsoletes rfkill = 0.5 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. util-linux.spec:81: W: python-module-def %{?!python_module:%define python_module() python-%{**} python3-%{**}} The spec file contains a conditional definition of python_module macro, this macro is present in recent versions of python-rpm-macros. The following conditional python_module macro definition can be removed: %{?!python_module:%define python_module() python-%{**} python3-%{**}} util-linux.armv6hl: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/bin/mount util-linux.armv6hl: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/bin/su util-linux.armv6hl: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/bin/umount Please add a %verifyscript section libblkid-devel.armv6hl: E: no-binary libfdisk-devel.armv6hl: E: no-binary libmount-devel.armv6hl: E: no-binary libsmartcols-devel.armv6hl: E: no-binary libuuid-devel.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. util-linux.armv6hl: W: missing-call-to-setgroups-before-setuid /usr/bin/mount util-linux.armv6hl: W: missing-call-to-setgroups-before-setuid /usr/bin/umount libblkid1.armv6hl: E: missing-call-to-setgroups-before-setuid /usr/lib/libblkid.so.1.1.0 libmount1.armv6hl: E: missing-call-to-setgroups-before-setuid /usr/lib/libmount.so.1.1.0 util-linux.armv6hl: E: missing-call-to-setgroups-before-setuid /usr/bin/eject util-linux.armv6hl: E: missing-call-to-setgroups-before-setuid /usr/bin/more util-linux.armv6hl: E: missing-call-to-setgroups-before-setuid /usr/sbin/swapon 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. util-linux.armv6hl: W: files-duplicate /usr/share/licenses/util-linux/COPYING.GPL-2.0-or-later /usr/share/licenses/util-linux/COPYING:/usr/share/licenses/util-linux/COPYING.GPL-2.0-only Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. util-linux.spec:670: W: deprecated-grep ['egrep'] util-linux.spec:673: W: deprecated-grep ['egrep'] Direct use of grep as egrep or fgrep is deprecated in GNU grep and historical in POSIX, use grep -E and grep -F instead. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 2.9 65.5 ExtractRpm 0.5 11.5 SignatureCheck 0.2 5.5 BashismsCheck 0.2 3.6 SpecCheck 0.1 3.2 SharedLibraryPolicyCheck 0.1 2.5 TOTAL 4.5 100.0 18 packages and 0 specfiles checked; 10 errors, 12 warnings, 55 filtered, 10 badness; has taken 4.5 s