[Fedora-packaging] Packaging of /usr/share/doc/{%name}-{%version} directories not 100% clear
Alexander Todorov
atodorov at redhat.com
Thu Nov 20 11:45:55 UTC 2014
На 20.11.2014 в 13:25, Michael Schwendt написа:
>
> Are you not just confused by the UnversionedDocDirs feature of F20 and
> the requirements it added for packagers?
>
Maybe so.
> As of F20, what %doc macro magic does when specifying *local* files is:
>
> 1) create and include the directory %{_docdir}/%{name}/
> 2) copy the specified local files into that dir and include them
>
> On the contrary, the packages you refer to explicitly include a _versioned_
> docdir, which %doc macro magic no longer handles.
>
> There is an entire family of problems related to using %doc, %_docdir and/or
> %_pkgdocdir these days. See also:
> https://fedorahosted.org/fpc/ticket/338
> ( %doc and %_pkgdocdir duplicate files and cause conflicts )
Regardless of these, leaving behind empty directories seems like a bug. Do we
want to fix these packages which don't fully comply with --excludedocs or don't
really care about them ?
--
Alex
More information about the packaging
mailing list