============================ rpmlint session starts ============================ rpmlint: 2.5.0 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 docbook-xml-website.spec: W: no-%check-section The spec file does not contain an %check section. Even if some packages don't directly need it, section markers may be overridden in rpm's configuration to provide additional 'under the hood' functionality. Add the section, even if empty. docbook-xml-website.spec:94: W: macro-in-comment %{name} docbook-xml-website.spec:94: W: macro-in-comment %{version} docbook-xml-website.spec:95: W: macro-in-comment %{sgml_dir} docbook-xml-website.spec:97: W: macro-in-comment %{version} docbook-xml-website.spec:99: W: macro-in-comment %{version} docbook-xml-website.spec:100: W: macro-in-comment %{sgml_dir} docbook-xml-website.spec:101: W: macro-in-comment %{version} docbook-xml-website.spec:102: W: macro-in-comment %{sgml_dir} docbook-xml-website.spec:102: W: macro-in-comment %{name} docbook-xml-website.spec:102: W: macro-in-comment %{version} docbook-xml-website.spec:103: W: macro-in-comment %{name} docbook-xml-website.spec:111: W: macro-in-comment %{INSTALL_DATA} docbook-xml-website.spec:111: W: macro-in-comment %{name} docbook-xml-website.spec:111: W: macro-in-comment %{name} docbook-xml-website.spec:113: W: macro-in-comment %define docbook-xml-website.spec:113: W: macro-in-comment %{name} docbook-xml-website.spec:113: W: macro-in-comment %{version} docbook-xml-website.spec:138: W: macro-in-comment %doc docbook-xml-website.spec:140: W: macro-in-comment %{sgml_dir} docbook-xml-website.spec:141: 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. docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/current/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/arrow.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/current/leaf.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/other/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/blank.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/current/pointer.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/other/closed.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/other/leaf.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/ChangeLog /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/ChangeLog docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/added.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/added.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/changed.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/changed.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/current/ChangeLog /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/current/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/current/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/current/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/current/ChangeLog docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/other/ChangeLog /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/arrow/other/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/other/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/other/ChangeLog:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/other/ChangeLog docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/added.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/added.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/added.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/changed.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/changed.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/changed.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/other/leaf.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/current/leaf.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/other/leaf.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/current/leaf.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/other/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/current/open.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/current/pointer.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder/current/pointer.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/current/pointer.gif:/usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/current/pointer.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/other/leaf.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/current/leaf.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/other/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/folder16/current/open.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/other/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/plusminus/current/open.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/other/leaf.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/current/leaf.gif docbook-xml-website.noarch: W: files-duplicate /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/other/open.gif /usr/share/xml/docbook/custom/website/2.6.0/example/graphics/navicons/triangle/current/open.gif 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 TOTAL 0.1 100.0 2 packages and 0 specfiles checked; 0 errors, 38 warnings, 7 filtered, 0 badness; has taken 0.2 s