============================ 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-magicalimport.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-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python310-magicalimport/examples/04relative-nested/output.txt /usr/share/doc/packages/python310-magicalimport/examples/03relative/output.txt python310-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python310-magicalimport/examples/04relative-nested/app/shapes.py /usr/share/doc/packages/python310-magicalimport/examples/03relative/shapes.py python310-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python310-magicalimport/examples/06here/output.here_is_none.txt /usr/share/doc/packages/python310-magicalimport/examples/06here/output.here_is_file.txt python311-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python311-magicalimport/examples/04relative-nested/output.txt /usr/share/doc/packages/python311-magicalimport/examples/03relative/output.txt python311-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python311-magicalimport/examples/04relative-nested/app/shapes.py /usr/share/doc/packages/python311-magicalimport/examples/03relative/shapes.py python311-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python311-magicalimport/examples/06here/output.here_is_none.txt /usr/share/doc/packages/python311-magicalimport/examples/06here/output.here_is_file.txt python312-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python312-magicalimport/examples/04relative-nested/output.txt /usr/share/doc/packages/python312-magicalimport/examples/03relative/output.txt python312-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python312-magicalimport/examples/04relative-nested/app/shapes.py /usr/share/doc/packages/python312-magicalimport/examples/03relative/shapes.py python312-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python312-magicalimport/examples/06here/output.here_is_none.txt /usr/share/doc/packages/python312-magicalimport/examples/06here/output.here_is_file.txt python313-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python313-magicalimport/examples/04relative-nested/output.txt /usr/share/doc/packages/python313-magicalimport/examples/03relative/output.txt python313-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python313-magicalimport/examples/04relative-nested/app/shapes.py /usr/share/doc/packages/python313-magicalimport/examples/03relative/shapes.py python313-magicalimport.noarch: W: files-duplicate /usr/share/doc/packages/python313-magicalimport/examples/06here/output.here_is_none.txt /usr/share/doc/packages/python313-magicalimport/examples/06here/output.here_is_file.txt Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.1 35.3 TOTAL 0.3 100.0 5 packages and 0 specfiles checked; 0 errors, 13 warnings, 6 filtered, 0 badness; has taken 0.3 s