Re: Macro usage for Fedora 20 documentation tree change

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

 



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_Description
> 
> 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=d6e71ba2c48dee7793b39b276651a2bb5515744a

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