On 2013-07-28 21:17, Björn Persson wrote:
> Ville Skyttä wrote:
> > The special (pathless) %doc macro now installs docs to unversioned
> > /usr/share/doc/%{name} dir in Rawhide.
>
> Not quite, it appears. %{name} is the name of the main package, but
> %doc still produces a separate directory for each subpackage.

Sure.

Regarding subpackages, I'd suggest installing their docs with plain
"special" %doc -- often installing the docs in %install to a temporary
staging dir helps with this. On the other hand with doc-only subpackages
I personally think that it would often make sense to install into the
main package's docdir instead of creating a separate dir, e.g. for a
package named foo, IMO it's better to have all docs in
/usr/share/doc/foo than some in that plus some in /usr/share/doc/foo-doc.
-- 
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