On 2013-08-06 17:35, Remi Collet wrote:
Le 06/08/2013 10:46, Ville Skyttä a écrit :
>
https://fedoraproject.org/wiki/Changes/UnversionedDocdirs#Detailed_Descri...
Any tips for sub-package docdir ?
1) Consider installing into the main package's docdir. If consideration
says it would be appropriate, do it using %{_pkgdocdir}.
2) If 1) isn't appropriate, install into temporary staging dir in
%install, then use the special %doc to pick that stuff up in %files.
3) If neither of the above works, go ugly and conditionalize for example
based on %{_docdir_fmt}'s definedness ("if defined -> go unversioned")
like in
http://pkgs.fedoraproject.org/cgit/kid3.git/commit/?id=d6e71ba2c48dee7793...