tei_4.noarch: W: explicit-lib-dependency libxml2 tei_4.noarch: W: explicit-lib-dependency zlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. tei_4.src:216: W: macro-in-comment %doc tei_4.src:88: W: macro-in-comment %patch0 tei_4.src:127: W: macro-in-comment %{INSTALL_DATA} tei_4.src:156: W: macro-in-comment %{sgml_config_dir} tei_4.src:159: W: macro-in-comment %{sgml_config_dir} tei_4.src:127: W: macro-in-comment %{sgml_tei_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. 2 packages and 0 specfiles checked; 0 errors, 8 warnings.