Doc dir related changes coming up

Miloslav Trmač mitr at volny.cz
Mon Jul 29 16:40:38 UTC 2013


On Mon, Jul 29, 2013 at 6:38 PM, Jan Kratochvil
<jan.kratochvil at redhat.com> wrote:
> On Mon, 29 Jul 2013 17:58:19 +0200, Ville Skyttä wrote:
>> > Therefore currently keeping the path /usr/share/doc/gdb-doc/ for
>> > gdb-doc.rpm.
>>
>> If you wanted to move to /usr/share/doc/gdb, you could take advantage of
>> the %{_pkgdocdir} property that it points to the main package, for
>> example like in the attached patch.
>
> The whole goal of my mail was to say if the packaging rule is s/-doc$// then
> the system macros should implement it that way.
> Why every pacakge should workaround it instead?

I'm not sure it can be completely automated.  For libraries it makes
sense to separate end-user documentation (in %{name}) and programmer's
documentation (in %{name}-devel).  %doc can't (currently?) tell the
difference between -devel and -doc.
    Mirek


More information about the devel mailing list