Hello, %{_docdir} is a very strange macro , why rpm -E doesn't know what is %{_docdir} but %{_defaultdocdir} knows ? rpm -E "%{_docdir}" %{_docdir} rpm -E "%{_defaultdocdir}" /usr/share/doc So should I use %{_defaultdocdir} instead %{_docdir} ? and how %{_docdir} is set ? Another matter is this wiki page : https://fedoraproject.org/wiki/Packaging_tricks#Installing_documentation:_2_paths ; is not in line with https://fedoraproject.org/wiki/Changes/UnversionedDocdirs , ; should I update wiki page and change %{name}-%{version} with just %{name} ? Also https://fedoraproject.org/wiki/How_to_create_an_RPM_package ; "rm -rf $RPM_BUILD_ROOT" should be cleaned ? Best regards, -- Sérgio M. B. -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx