============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/file-rpmlintrc checks: 41, packages: 5 python-magic.src: E: unused-rpmlintrc-filter ".*W:.*name-repeated-in-summary.*" python-magic.src: E: unused-rpmlintrc-filter ".*:.*shlib-fixed-dependency.*" python-magic.spec:21: 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-magic.aarch64: E: no-binary python311-magic.aarch64: E: no-binary python312-magic.aarch64: E: no-binary python313-magic.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. python-magic.spec: W: no-%build-section The spec file does not contain a %build section. Even if some packages don't directly need it, section markers may be overridden in rpm's configuration to provide additional 'under the hood' functionality, such as injection of automatic -debuginfo subpackages. Add the section, even if empty. python310-magic.aarch64: W: files-duplicate /usr/lib/python3.10/site-packages/__pycache__/magic.cpython-310.pyc /usr/lib/python3.10/site-packages/__pycache__/magic.cpython-310.opt-1.pyc python311-magic.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/__pycache__/magic.cpython-311.pyc /usr/lib/python3.11/site-packages/__pycache__/magic.cpython-311.opt-1.pyc python312-magic.aarch64: W: files-duplicate /usr/lib/python3.12/site-packages/__pycache__/magic.cpython-312.pyc /usr/lib/python3.12/site-packages/__pycache__/magic.cpython-312.opt-1.pyc python313-magic.aarch64: W: files-duplicate /usr/lib/python3.13/site-packages/__pycache__/magic.cpython-313.pyc /usr/lib/python3.13/site-packages/__pycache__/magic.cpython-313.opt-1.pyc Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. python310-magic.aarch64: E: explicit-lib-dependency libmagic1 python311-magic.aarch64: E: explicit-lib-dependency libmagic1 python312-magic.aarch64: E: explicit-lib-dependency libmagic1 python313-magic.aarch64: E: explicit-lib-dependency libmagic1 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 ExtractRpm 0.1 46.7 TOTAL 0.2 100.0 5 packages and 0 specfiles checked; 10 errors, 6 warnings, 12 filtered, 10 badness; has taken 0.3 s