============================ 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/389-ds-rpmlintrc checks: 41, packages: 6 389-ds.src: E: unused-rpmlintrc-filter "E: devel-file-in-non-devel-package.*/usr/lib64/dirsrv/librewriters.so" 389-ds.spec:21: 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-%{**}} lib389.armv7hl: W: python-missing-require python-ldap lib389.armv7hl: W: python-missing-require setuptools The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. lib389.armv7hl: W: python-leftover-require python3-ldap lib389.armv7hl: W: python-leftover-require python3-python-slugify Some python module Requires can't be found in the python package requirements declaration. Please verify that all dependencies are really needed. 389-ds.armv7hl: E: permissions-incorrect-owner /usr/sbin/ns-slapd belongs to root:root but should be root:dirsrv please use the %attr macro to set the correct ownership. 389-ds.armv7hl: E: permissions-incorrect /usr/sbin/ns-slapd has mode 0755 but should be 0750 please use the %attr macro to set the correct permissions. 389-ds-snmp.armv7hl: W: obsolete-not-provided 389-ds lib389.armv7hl: W: obsolete-not-provided python-lib389 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. 389-ds.armv7hl: W: non-standard-uid /var/lib/dirsrv dirsrv 389-ds.armv7hl: W: non-standard-uid /var/log/dirsrv dirsrv A file in this package is owned by an unregistered user id. To register the user, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the rpmlint repository. 389-ds.armv7hl: W: non-standard-gid /var/lib/dirsrv dirsrv 389-ds.armv7hl: W: non-standard-gid /var/log/dirsrv dirsrv 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 rpmlint repository. 389-ds.armv7hl: E: non-executable-script /usr/lib/dirsrv/python/failedbinds.py 644 /usr/bin/python3 389-ds.armv7hl: E: non-executable-script /usr/lib/dirsrv/python/logregex.py 644 /usr/bin/python3 389-ds.armv7hl: E: non-executable-script /usr/share/gdb/auto-load/usr/sbin/ns-slapd-gdb.py 644 /usr/bin/python3 lib389.armv7hl: E: non-executable-script /usr/lib/python3.11/site-packages/lib389/perftools.py 644 /usr/bin/python3 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. 389-ds-devel.armv7hl: E: no-binary lib389.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. 389-ds.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. 389-ds.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/dirsrv/librewriters.so A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 1.4 43.6 ExtractRpm 0.6 19.2 BashismsCheck 0.3 9.2 FilesCheck 0.2 6.3 SpecCheck 0.2 6.2 SignatureCheck 0.2 6.1 TOTAL 3.3 100.0 6 packages and 0 specfiles checked; 10 errors, 12 warnings, 31 filtered, 59 badness; has taken 3.4 s