============================ 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 bsh2-demo.noarch: E: wrong-script-end-of-line-encoding /usr/share/bsh2/tests/test-scripts/testnullinvocation.bsh This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/src/mypackage/testCommand.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/Data/actionHandler.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/Data/addedCommand.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/Data/syntaxerrors.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class10.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class11.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class12.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class14.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class15.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class16.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class5.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class6.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class7.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class8.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/class9.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classinner.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classinterf1.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classmisc1.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classprimparams.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classser.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classstaticinit.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classsuper.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classsuper1.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/classsuper2.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/externalNameSpace.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/strictj.bsh bsh2-demo.noarch: E: script-without-shebang /usr/share/bsh2/tests/test-scripts/testnullinvocation.bsh 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. bsh2-javadoc.noarch: W: package-with-huge-docs 100% bsh2-manual.noarch: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. bsh2.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. bsh2.spec:149: W: macro-in-comment %{name} 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. bsh2-manual.noarch: E: files-duplicated-waste (Badness: 100) 177014 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/appletmode.gif /usr/share/doc/packages/bsh2-manual/images/appletmode.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/backbutton.gif /usr/share/doc/packages/bsh2-manual/images/backbutton.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/bshclassbrowser.gif /usr/share/doc/packages/bsh2-manual/images/bshclassbrowser.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/bshclassloading.gif /usr/share/doc/packages/bsh2-manual/images/bshclassloading.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/bshmodes.obj /usr/share/doc/packages/bsh2-manual/images/bshmodes.obj bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/caller.gif /usr/share/doc/packages/bsh2-manual/images/caller.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/caller.obj /usr/share/doc/packages/bsh2-manual/images/caller.obj bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/colorconsole.jpg /usr/share/doc/packages/bsh2-manual/images/colorconsole.jpg bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/editorwindow.gif /usr/share/doc/packages/bsh2-manual/images/editorwindow.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/embeddedmode.gif /usr/share/doc/packages/bsh2-manual/images/embeddedmode.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/forwardbutton.gif /usr/share/doc/packages/bsh2-manual/images/forwardbutton.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/homebutton.gif /usr/share/doc/packages/bsh2-manual/images/homebutton.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/lj.gif /usr/share/doc/packages/bsh2-manual/images/lj.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/remoteconsole.gif /usr/share/doc/packages/bsh2-manual/images/remoteconsole.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/remotemode.gif /usr/share/doc/packages/bsh2-manual/images/remotemode.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/scriptmode.gif /usr/share/doc/packages/bsh2-manual/images/scriptmode.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/servletmode.gif /usr/share/doc/packages/bsh2-manual/images/servletmode.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/splash1.jpg /usr/share/doc/packages/bsh2-manual/images/splash1.jpg bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/images/upbutton.gif /usr/share/doc/packages/bsh2-manual/images/upbutton.gif bsh2-manual.noarch: W: files-duplicate /usr/share/doc/packages/bsh2-manual/manual/index.html /usr/share/doc/packages/bsh2-manual/manual/contents.html Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. bsh2.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/bsh2doc /usr/bin/env /usr/bin/bsh2 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.2 30.8 ExtractRpm 0.2 22.9 FilesCheck 0.1 14.3 TOTAL 0.8 100.0 7 packages and 0 specfiles checked; 30 errors, 24 warnings, 25 filtered, 137 badness; has taken 0.8 s