============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/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 xhtml-dtd.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/xhtml-dtd/REC-xhtml-basic-20001219/xhtml-basic.css This file has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It could prevent it from being displayed correctly in some circumstances. xhtml-dtd.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. xhtml-dtd.noarch: W: package-with-huge-docs 55% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. xhtml-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. xhtml-dtd.spec:80: W: macro-in-comment %patch xhtml-dtd.spec:91: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:96: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:104: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:109: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:133: W: macro-in-comment %{INSTALL_DIR} xhtml-dtd.spec:133: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:142: W: macro-in-comment %{INSTALL_DIR} xhtml-dtd.spec:142: W: macro-in-comment %{sgml_dir} xhtml-dtd.spec:268: W: macro-in-comment %config xhtml-dtd.spec:268: W: macro-in-comment %{_sysconfdir} xhtml-dtd.spec:268: W: macro-in-comment %{FOR_ROOT_CAT} 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. xhtml-dtd.noarch: W: files-duplicate /usr/share/doc/packages/xhtml-dtd/xhtml1/REC.gif /usr/share/doc/packages/xhtml-dtd/xhtml-1.1/logo-REC.gif xhtml-dtd.noarch: W: files-duplicate /usr/share/doc/packages/xhtml-dtd/xhtml1/w3c_home.gif /usr/share/doc/packages/xhtml-dtd/xhtml-1.1/w3c_home.gif xhtml-dtd.noarch: W: files-duplicate /usr/share/doc/packages/xhtml-dtd/xhtml1/wcag1AAA.gif /usr/share/doc/packages/xhtml-dtd/xhtml-1.1/wcag1AAA.gif xhtml-dtd.noarch: W: files-duplicate /usr/share/xml/xhtml/schema/dtd/1.1/xml1.dcl /usr/share/xml/xhtml/schema/dtd/1.0-basic/xml1.dcl xhtml-dtd.noarch: W: files-duplicate /usr/share/xml/xhtml/schema/dtd/1.1/VERSION /usr/share/xml/xhtml/schema/dtd/1.0-modularization/VERSION xhtml-dtd.noarch: W: files-duplicate /usr/share/xml/xhtml/schema/dtd/1.1/xml1n.dcl /usr/share/xml/xhtml/schema/dtd/1.0-modularization/xml1n.dcl Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. xhtml-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 ExtractRpm 0.1 34.9 TOTAL 0.3 100.0 2 packages and 0 specfiles checked; 2 errors, 21 warnings, 10 filtered, 2 badness; has taken 0.3 s