Doc dir related changes coming up
Jan Kratochvil
jan.kratochvil at redhat.com
Mon Jul 29 16:38:46 UTC 2013
On Mon, 29 Jul 2013 17:58:19 +0200, Ville Skyttä wrote:
> > If it should be /usr/share/doc/gdb/ then rpm macros need to be changed first
> > accordingly to s/-doc$// on the directory name.
>
> I don't think that's desirable.
And a reason why?
> > 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?
Jan
More information about the devel
mailing list