============================ 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-rpy2.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-rpy2.noarch: W: python-missing-require jinja2 python310-rpy2.noarch: W: python-missing-require pytz python310-rpy2.noarch: W: python-missing-require tzlocal python311-rpy2.noarch: W: python-missing-require jinja2 python311-rpy2.noarch: W: python-missing-require pytz python311-rpy2.noarch: W: python-missing-require tzlocal python312-rpy2.noarch: W: python-missing-require jinja2 python312-rpy2.noarch: W: python-missing-require pytz python312-rpy2.noarch: W: python-missing-require tzlocal python313-rpy2.noarch: W: python-missing-require jinja2 python313-rpy2.noarch: W: python-missing-require pytz python313-rpy2.noarch: W: python-missing-require tzlocal The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. python310-rpy2.noarch: W: python-leftover-require python310-numpy python311-rpy2.noarch: W: python-leftover-require python311-numpy python312-rpy2.noarch: W: python-leftover-require python312-numpy python313-rpy2.noarch: W: python-leftover-require python313-numpy Some python module Requires can't be found in the python package requirements declaration. Please verify that all dependencies are really needed. python-rpy2.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. python310-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.10/site-packages/rpy2/rinterface_lib/RPY2.h python310-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.10/site-packages/rpy2/rinterface_lib/R_API.h python310-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.10/site-packages/rpy2/rinterface_lib/R_API_eventloop.c python310-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.10/site-packages/rpy2/rinterface_lib/R_API_eventloop.h python311-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/site-packages/rpy2/rinterface_lib/RPY2.h python311-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/site-packages/rpy2/rinterface_lib/R_API.h python311-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/site-packages/rpy2/rinterface_lib/R_API_eventloop.c python311-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/site-packages/rpy2/rinterface_lib/R_API_eventloop.h python312-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.12/site-packages/rpy2/rinterface_lib/RPY2.h python312-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.12/site-packages/rpy2/rinterface_lib/R_API.h python312-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.12/site-packages/rpy2/rinterface_lib/R_API_eventloop.c python312-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.12/site-packages/rpy2/rinterface_lib/R_API_eventloop.h python313-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.13/site-packages/rpy2/rinterface_lib/RPY2.h python313-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.13/site-packages/rpy2/rinterface_lib/R_API.h python313-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.13/site-packages/rpy2/rinterface_lib/R_API_eventloop.c python313-rpy2.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.13/site-packages/rpy2/rinterface_lib/R_API_eventloop.h A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files FilesCheck 0.1 27.9 ExtractRpm 0.1 24.6 TOTAL 0.5 100.0 5 packages and 0 specfiles checked; 16 errors, 18 warnings, 11 filtered, 800 badness; has taken 0.5 s