============================ rpmlint session starts ============================ rpmlint: 2.5.0 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: 2 arcanist.noarch: E: zero-length /usr/share/phabricator/arcanist/support/shell/rules/.keep arcanist.noarch: E: script-without-shebang /usr/share/phabricator/arcanist/support/unit/sleep.php 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. arcanist.spec: W: no-%check-section The spec file does not contain an %check 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. Add the section, even if empty. arcanist.noarch: W: hidden-file-or-dir /usr/share/phabricator/arcanist/support/shell/rules/.keep The file or directory is hidden. You should see if this is normal, and delete it from the package if not. arcanist.noarch: W: files-duplicate /usr/share/phabricator/arcanist/support/shell/rules/bash-rules.sh /usr/share/bash-completion/completions/arc arcanist.noarch: W: files-duplicate /usr/share/phabricator/arcanist/bin/phage /usr/share/phabricator/arcanist/bin/arc arcanist.noarch: W: files-duplicate /usr/share/phabricator/arcanist/support/xhpast/parser_nodes.php /usr/share/phabricator/arcanist/src/parser/xhpast/parser_nodes.php Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/arcanoid/arcanoid.py /usr/bin/env python3 arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/lib/extract-symbols.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/lib/rebuild-map.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/unit/cat.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/unit/echo.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/unit/exit.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/unit/lock.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/xhpast/bin/xhpast-generate-nodes.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/xhpast/bin/xhpast-generate-version.php /usr/bin/env php arcanist.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phabricator/arcanist/support/xhpast/build-xhpast.php /usr/bin/env php 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. arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/ast.hpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/astnode.hpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/parser.yacc.cpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/parser.yacc.hpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/scanner.lex.cpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/scanner.lex.hpp arcanist.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/phabricator/arcanist/support/xhpast/xhpast.cpp 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 TOTAL 0.3 100.0 2 packages and 0 specfiles checked; 19 errors, 5 warnings, 9 filtered, 442 badness; has taken 0.3 s