On Mon, Jul 29, 2013 at 6:38 PM, Jan Kratochvil
<jan.kratoch...@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
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to