============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib/python3.13/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 scala-bootstrap.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-bootstrap.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). scala-bootstrap.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/fsc /usr/bin/env bash scala-bootstrap.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scala /usr/bin/env bash scala-bootstrap.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scalac /usr/bin/env bash scala-bootstrap.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/scaladoc /usr/bin/env bash scala-bootstrap.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 3.6 80.7 ZipCheck 0.5 10.3 SignatureCheck 0.3 7.0 TOTAL 4.5 100.0 2 packages and 0 specfiles checked; 6 errors, 8 warnings, 8 filtered, 46 badness; has taken 4.5 s