============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/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: 2 python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/conf/roster python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/buildout.cfg python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/etc/buildout.cfg python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/foo/buildout.cfg python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/var/buildout.cfg python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/var/tb/1/bootstrap.py python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/grail/empty python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/test_deep/a/test.sls python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/test_deep/b/2/test.sls python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/test_deep/test.sls python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/prod/holy/empty python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/kitchen/pytest.ini python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/modules/inspectlib/tree_test/a/a/dummy.a python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/modules/inspectlib/tree_test/a/b/dummy.b python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/modules/inspectlib/tree_test/b/b.2 python3-salt-testsuite.aarch64: E: zero-length /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/modules/inspectlib/tree_test/b/b.3 salt.spec:26: E: obsolete-suse-version-check 1210 salt.spec:32: E: obsolete-suse-version-check 1110 salt.spec:463: E: obsolete-suse-version-check 1020 salt.spec:514: E: obsolete-suse-version-check 1140 salt.spec:710: E: obsolete-suse-version-check 1110 salt.spec:830: E: obsolete-suse-version-check 1110 salt.spec:845: E: obsolete-suse-version-check 1110 salt.spec:859: E: obsolete-suse-version-check 1110 The specfile contains a comparison of %suse_version against a suse release that is no longer in maintenance. Consider removing obsolete parts of your spec file to make it more readable. python3-salt-testsuite.aarch64: W: obsolete-not-provided salt-test-tests 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. python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/committer_parser.py 644 /usr/bin/python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/eventlisten.sh 644 /bin/sh python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/_states/salttest.py 644 /usr/bin/env python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/git_pillar/ssh/user/files/git_ssh 644 /bin/sh python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/script.py 644 /usr/bin/env python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/minionswarm.py 644 /usr/bin/env python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/modparser.py 644 /usr/bin/env python2 python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/salt-tcpdump.py 644 /usr/bin/python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/saltsh.py 644 /usr/bin/env python python3-salt-testsuite.aarch64: E: non-executable-script /usr/lib/python3.11/site-packages/salt-testsuite/tests/wheeltest.py 644 /usr/bin/env python 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. python3-salt-testsuite.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. salt.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. salt-test.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). python3-salt-testsuite.aarch64: W: hidden-file-or-dir /usr/lib/python3.11/site-packages/salt-testsuite/tests/kitchen/.kitchen.yml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/c/buildout.cfg /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/b/buildout.cfg python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/var/ver/2/default/buildout.cfg /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/var/ver/1/bootstrap/buildout.cfg:/usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/buildout/var/ver/2/bootstrap/buildout.cfg python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/prod/issue45893/custom.tar.gz /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/custom.tar.gz python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/modules/files/hosts /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/hosts python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/functional/transport/conftest.py /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/functional/channel/conftest.py python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/functional/fileserver/hgfs/files/test2.sls /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/functional/fileserver/hgfs/files/test.sls python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/unit/modules/test_state.py /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/unit/modules/state/test_initial_pillar.py python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/unit/roster/terraform.data/ssh_key /usr/lib/python3.11/site-packages/salt-testsuite/tests/pytests/unit/roster/terraform.data/ssh/salt-ssh.rsa python3-salt-testsuite.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/files/playbooks/example_playbooks/playbook1.yml /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/files/playbooks/example_playbooks/playbook1.yaml Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. python3-salt-testsuite.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/salt-testsuite/tests/integration/files/file/base/mkimage-busybox-static /usr/bin/env bash This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. python3-salt-testsuite.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/site-packages/salt-testsuite/tests/unit/modules/inspectlib/tree_test/a/a/dummy.a 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 ExtractRpm 1.1 46.2 FilesCheck 0.3 13.5 BashismsCheck 0.3 13.4 SignatureCheck 0.2 8.0 SpecCheck 0.1 6.2 BuildRootAndDateCheck 0.1 4.6 TOTAL 2.3 100.0 2 packages and 0 specfiles checked; 38 errors, 12 warnings, 16 filtered, 95 badness; has taken 2.4 s