============================ 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 mathml-dtd.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. mathml-dtd.noarch: W: percent-in-%postun The %postun scriptlet contains a '%' in a context which might indicate it being fallout from an rpm macro/variable which was not expanded during build. Investigate whether this is the case and fix if appropriate. mathml-dtd.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. mathml-dtd.spec:94: W: macro-in-comment %{buildroot} mathml-dtd.spec:94: W: macro-in-comment %{xml_dir} mathml-dtd.spec:165: W: macro-in-comment %doc mathml-dtd.spec:173: W: macro-in-comment %{sgml_dir} 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. mathml-dtd.noarch: W: files-duplicate /usr/share/xml/mathml/schema/dtd/2.0/copyright-software.html /usr/share/doc/packages/mathml-dtd/copyright-software.html Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. mathml-dtd.noarch: E: explicit-lib-dependency libxml2 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files TOTAL 0.1 100.0 2 packages and 0 specfiles checked; 2 errors, 7 warnings, 6 filtered, 2 badness; has taken 0.1 s