============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/python3.13/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/openscap-rpmlintrc checks: 41, packages: 8 openscap.spec:287: W: shared-dir-glob-in-files %{_includedir}/* The %files section contains "%{_bindir}/*", "%{_datadir}/*", "%{_docdir}/*", "%{_includedir}/*" or "%{_mandir}/*". These can lead to packagers not noticing when upstream adds new and possibly conflicting files in these directories. Therefore, files in these directories should be explicitely listed like "%{_bindir}/foobar" or "%{_includedir}/foobar.h". openscap.spec:298: W: python-sitelib-glob-in-files %{python_sitearch}/* The %files section contains "%{python_sitelib}/*" or "%{python_sitearch}/*" that can get something not wanted in the package. Please use a more specific file path like: %{python_sitelib}/packagename %{python_sitelib}/packagename-%{version}*-info openscap.x86_64: W: obsolete-not-provided openscap-engine-sce openscap.x86_64: W: obsolete-not-provided openscap-extra-probes 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. openscap.x86_64: E: no-binary openscap-containers.x86_64: E: no-binary openscap-content.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. openscap-containers.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-podman /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/autotailor /usr/bin/env python3 openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-chroot /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-im /usr/bin/env python3 openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-remediate-offline /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-run-sce-script /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-ssh /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/oscap-vm /usr/bin/env bash openscap-utils.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/scap-as-rpm /usr/bin/env python3 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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.7 64.1 FilesCheck 0.3 10.8 BuildRootAndDateCheck 0.2 8.7 BashismsCheck 0.1 4.0 TOTAL 2.7 100.0 8 packages and 0 specfiles checked; 12 errors, 4 warnings, 51 filtered, 84 badness; has taken 2.8 s