============================ 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: 5 python-kismetdb.spec:77: W: python-sitelib-glob-in-files %{python_sitelib}/* 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 python-kismetdb.spec:20: 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-%{**}} python310-kismetdb.noarch: I: package-supports-update-alternatives python311-kismetdb.noarch: I: package-supports-update-alternatives python312-kismetdb.noarch: I: package-supports-update-alternatives python313-kismetdb.noarch: I: package-supports-update-alternatives python310-kismetdb.noarch: W: description-shorter-than-summary python311-kismetdb.noarch: W: description-shorter-than-summary python312-kismetdb.noarch: W: description-shorter-than-summary python313-kismetdb.noarch: W: description-shorter-than-summary python-kismetdb.src: W: description-shorter-than-summary The package description should be longer than the summary. python310-kismetdb.noarch: E: alternative-link-missing /etc/alternatives/$b python311-kismetdb.noarch: E: alternative-link-missing /etc/alternatives/$b python312-kismetdb.noarch: E: alternative-link-missing /etc/alternatives/$b python313-kismetdb.noarch: E: alternative-link-missing /etc/alternatives/$b The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. python310-kismetdb.noarch: E: alternative-generic-name-missing /usr/bin/$b python311-kismetdb.noarch: E: alternative-generic-name-missing /usr/bin/$b python312-kismetdb.noarch: E: alternative-generic-name-missing /usr/bin/$b python313-kismetdb.noarch: E: alternative-generic-name-missing /usr/bin/$b The update-alternatives generic name is not in the filelist. Create it as a symlink to %{_sysconfdir}/alternatives/$(basename generic-name) and add it to the file list. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.1 27.2 TOTAL 0.4 100.0 5 packages and 0 specfiles checked; 8 errors, 7 warnings, 111 filtered, 8 badness; has taken 0.5 s