Re: Doc dir related changes coming up

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

 



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.

_docdir_fmt seems to be defined as "%%{NAME}" in current Rawhide, so I
guess NAME is different from name.

>Either way the suggested way to handle this is by
>using the %{_pkgdocdir} macro which is now in Rawhide, in
>redhat-rpm-config >= 9.1.0-50.fc20.

_pkgdocdir is defined as "%{_docdir}/%{name}", so in subpackages it
will differ from what %doc uses. Packagers need to be aware of this.

>    %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}

And this also differs from what %doc uses for subpackages in earlier
releases, which may or may not be OK depending on how the package was
made before.

-- 
Björn Persson

Sent from my computer.

Attachment: signature.asc
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux