============================ 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: 2 apache2-manual.noarch: W: self-obsoletion apache2-doc <= 2.4.62 obsoletes apache2-doc = 2.4.62 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. apache2-manual.noarch: E: non-executable-script /usr/share/apache2/manual/style/scripts/MINIFY 644 /bin/sh 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. apache2.spec:825: W: libdir-macro-in-noarch-package (main package) %dir %{_libdir}/apache2-%{mpm} apache2.spec:826: W: libdir-macro-in-noarch-package (main package) %dir %{_libdir}/apache2 apache2.spec:827: W: libdir-macro-in-noarch-package (main package) %{_libdir}/apache2/*.so The %{_libdir} or %{_lib} macro was found in a noarch package in a section that gets included in binary packages. This is most likely an error because these macros are expanded on the build host and their values vary between architectures, probably resulting in a package that does not work properly on all architectures at runtime. Investigate whether the package is really architecture independent or if some other dir/macro should be instead. apache2-manual.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). apache2-manual.noarch: W: files-duplicate /usr/share/apache2/manual/programs/index.html /usr/share/apache2/manual/misc/index.html Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.3 34.6 SpecCheck 0.2 17.5 FilesCheck 0.1 12.0 TOTAL 1.0 100.0 2 packages and 0 specfiles checked; 2 errors, 5 warnings, 18 filtered, 2 badness; has taken 1.0 s