============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /opt/testing/lib/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: 2 git-cola.spec:60: E: rpm-buildroot-usage %build %make_build man prefix=%{_prefix} DESTDIR=%{buildroot} PYTHON=python3 PIP=pip $RPM_BUILD_ROOT or %{buildroot} must not be touched during %build or %prep stage, as it will break short circuit builds and will not persist to %install stage in a normal build, leading to unexpected package build behavior. git-cola.noarch: W: python-missing-require polib The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. git-cola.noarch: W: python-leftover-require python3-qt6 Some python module Requires can't be found in the python package requirements declaration. Please verify that all dependencies are really needed. git-cola.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. git-cola.noarch: W: files-duplicate /usr/bin/git-cola /usr/bin/cola git-cola.noarch: W: files-duplicate /usr/lib/python3.11/site-packages/cola/icons/dark/circle-slash-red.svg /usr/lib/python3.11/site-packages/cola/icons/circle-slash-red.svg git-cola.noarch: W: files-duplicate /usr/lib/python3.11/site-packages/cola/icons/partial.svg /usr/lib/python3.11/site-packages/cola/icons/dark/partial.svg git-cola.noarch: W: files-duplicate /usr/lib/python3.11/site-packages/cola/icons/staged.svg /usr/lib/python3.11/site-packages/cola/icons/dark/staged.svg Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. git-cola.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/cola/bin/ssh-askpass /usr/bin/env tclsh This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 0.3 40.1 ExtractRpm 0.1 16.8 SpecCheck 0.1 13.4 TOTAL 0.8 100.0 2 packages and 0 specfiles checked; 2 errors, 7 warnings, 5 filtered, 10 badness; has taken 0.9 s