============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/tomcat-rpmlintrc checks: 42, packages: 12 tomcat.noarch: E: zero-length /usr/share/fillup-templates/sysconfig.tomcat tomcat-jsvc.noarch: E: script-without-shebang /usr/lib/systemd/system/tomcat-jsvc.service 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. tomcat-javadoc.noarch: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. tomcat-el-3_0-api.noarch: W: obsolete-not-provided tomcat-el-2_2-api tomcat-jsp-2_3-api.noarch: W: obsolete-not-provided tomcat-jsp-2_2-api tomcat-servlet-4_0-api.noarch: W: obsolete-not-provided tomcat-servlet-3_0-api tomcat-servlet-4_0-api.noarch: W: obsolete-not-provided tomcat-servlet-3_1-api 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. tomcat.noarch: E: non-executable-script /usr/bin/tomcat-digest 644 /bin/sh tomcat.noarch: E: non-executable-script /usr/bin/tomcat-tool-wrapper 644 /bin/sh tomcat.noarch: E: non-executable-script /usr/libexec/tomcat/functions 644 /bin/bash tomcat.noarch: E: non-executable-script /usr/sbin/tomcat 644 /bin/bash This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. tomcat.noarch: W: non-executable-in-bin /usr/bin/tomcat-digest 644 tomcat.noarch: W: non-executable-in-bin /usr/bin/tomcat-tool-wrapper 644 tomcat.noarch: W: non-executable-in-bin /usr/sbin/tomcat 644 A file is being installed in /usr/bin, but is not an executable. Be sure that the file is an executable or that it has executable permissions. tomcat-admin-webapps.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/share/tomcat/tomcat-webapps/host-manager/META-INF/context.xml tomcat-admin-webapps.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/share/tomcat/tomcat-webapps/manager/META-INF/context.xml tomcat-webapps.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/share/tomcat/tomcat-webapps/examples/META-INF/context.xml A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. tomcat.noarch: W: non-conffile-in-etc /etc/tomcat/allowLinking.xslt tomcat.noarch: W: non-conffile-in-etc /etc/tomcat/conf.d/README tomcat.noarch: W: non-conffile-in-etc /etc/tomcat/valve.xslt A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. tomcat.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. tomcat.noarch: E: explicit-lib-dependency libxslt-tools tomcat-admin-webapps.noarch: E: explicit-lib-dependency libxslt-tools tomcat-docs-webapp.noarch: E: explicit-lib-dependency libxslt-tools tomcat-webapps.noarch: E: explicit-lib-dependency libxslt-tools You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. tomcat.noarch: W: dir-or-file-outside-snapshot /srv/tomcat tomcat.noarch: W: dir-or-file-outside-snapshot /srv/tomcat/webapps tomcat.noarch: W: dir-or-file-outside-snapshot /var/cache/tomcat tomcat.noarch: W: dir-or-file-outside-snapshot /var/cache/tomcat/Catalina tomcat.noarch: W: dir-or-file-outside-snapshot /var/cache/tomcat/temp tomcat.noarch: W: dir-or-file-outside-snapshot /var/cache/tomcat/work tomcat.noarch: W: dir-or-file-outside-snapshot /var/lib/tomcats tomcat.noarch: W: dir-or-file-outside-snapshot /var/log/tomcat tomcat.noarch: W: dir-or-file-outside-snapshot /var/log/tomcat/catalina.out The package contains files outside the snapshot, e.g. outside /etc and /usr or inside /usr/local. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 2.3 53.0 FilesCheck 0.5 12.5 BuildRootAndDateCheck 0.4 8.6 ZipCheck 0.3 6.8 SignatureCheck 0.2 3.9 SUIDPermissionsCheck 0.2 3.9 BashismsCheck 0.2 3.7 SpecCheck 0.1 2.8 TOTAL 4.3 100.0 12 packages and 0 specfiles checked; 10 errors, 24 warnings, 145 filtered, 10 badness; has taken 4.4 s