============================ 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: 3 scala.noarch: W: self-obsoletion scala-bootstrap obsoletes scala-bootstrap = 2.13.12-2.4 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. scala-apidoc.noarch: W: package-with-huge-docs 99% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. scala.noarch: W: obsolete-not-provided scala-swing 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. scala.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. scala.spec:403: W: macro-in-comment %{buildroot} scala.spec:403: W: macro-in-comment %{_datadir} scala.spec:404: W: macro-in-comment %{SOURCE15} scala.spec:404: W: macro-in-comment %{SOURCE16} scala.spec:404: W: macro-in-comment %{buildroot} scala.spec:404: W: macro-in-comment %{_datadir} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. scala.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/fsc /usr/bin/env bash scala.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scala /usr/bin/env bash scala.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scalac /usr/bin/env bash scala.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scaladoc /usr/bin/env bash scala.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scalap /usr/bin/env bash 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 8.5 76.0 BuildRootAndDateCheck 1.1 9.4 FilesCheck 0.9 8.4 ZipCheck 0.3 3.1 SignatureCheck 0.1 1.1 TOTAL 11.2 100.0 3 packages and 0 specfiles checked; 5 errors, 10 warnings, 9 filtered, 45 badness; has taken 11.3 s