============================ 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-thLib.spec:90: 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-thLib.spec:19: 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-thLib.noarch: W: package-with-huge-docs 96% python311-thLib.noarch: W: package-with-huge-docs 95% python312-thLib.noarch: W: package-with-huge-docs 95% python313-thLib.noarch: W: package-with-huge-docs 96% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. python310-thLib.noarch: E: explicit-lib-dependency python310-matplotlib python311-thLib.noarch: E: explicit-lib-dependency python311-matplotlib python312-thLib.noarch: E: explicit-lib-dependency python312-matplotlib python313-thLib.noarch: E: explicit-lib-dependency python313-matplotlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files TOTAL 0.2 100.0 5 packages and 0 specfiles checked; 4 errors, 6 warnings, 22 filtered, 4 badness; has taken 0.3 s