============================ rpmlint session starts ============================ rpmlint: 2.6.1 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: 7 pgadmin4.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0755,pgadmin,pgadmin) /run/pgadmin4" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html pgadmin4.noarch: E: script-without-shebang /usr/lib/python3.11/site-packages/pgadmin4/regression/javascript/components/CodeMirrorCustomEditor.spec.js This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. pgadmin4.noarch: W: python-missing-require boto3 pgadmin4.noarch: W: python-missing-require azure-mgmt-rdbms pgadmin4.noarch: W: python-missing-require azure-mgmt-resource pgadmin4.noarch: W: python-missing-require azure-mgmt-subscription pgadmin4.noarch: W: python-missing-require azure-identity pgadmin4.noarch: W: python-missing-require google-api-python-client pgadmin4.noarch: W: python-missing-require google-auth-oauthlib The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. pgadmin4.noarch: W: obsolete-not-provided pgadmin4-web If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. pgadmin4.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. pgadmin4-desktop.noarch: E: invalid-desktopfile /usr/share/applications/pgadmin4.desktop The .desktop file is not valid, check with desktop-file-validate pgadmin4-doc.noarch: W: files-duplicate /usr/share/doc/packages/pgadmin4-docs/en_US/images/debug_step_in.png /usr/share/doc/packages/pgadmin4-docs/en_US/images/debug_ic_step_in.png Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. pgadmin4.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/pgadmin4/pgacloud/pgacloud.py /usr/bin/env python3 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 ExtractRpm 3.9 36.2 SUIDPermissionsCheck 2.7 24.8 FilesCheck 1.5 14.3 SignatureCheck 0.7 6.7 BuildRootAndDateCheck 0.6 6.0 FilelistCheck 0.4 3.4 BashismsCheck 0.3 2.7 PythonCheck 0.1 1.2 TOTAL 10.8 100.0 7 packages and 0 specfiles checked; 3 errors, 11 warnings, 1130 filtered, 11 badness; has taken 11.3 s