Re: Packaging of /usr/share/doc/{%name}-{%version} directories not 100% clear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



На 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



--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux