Linux Archive

Linux Archive (
-   Fedora Packaging (
-   -   Placement of %doc (

Remi Collet 01-30-2010 04:27 PM

Placement of %doc

I'm searching info about %doc placement.

Most of %doc files (from source tree) goes under

For the pear package, the installer copy doc files to
%{pear_docdir} = /usr/share/pear/doc/<extension_name>

So two solutions

1/ It's ok to keep this file here and use
%doc %{pear_docdir}/foo

2/ It's not ok, we MUST move them to /usr/share/doc ?

Actually, most pear package apply 2

I'm asking this because a new package under review apply 1

And an (old) bug is open against php-pear

But I don't find any usefull information in Guidelines.


P.S. please also note that, because of 2 being applied on most packages,
the result of "pear list-files foo" is not correct

packaging mailing list

Pierre-Yves 01-30-2010 04:33 PM

Placement of %doc
On Sat, 2010-01-30 at 18:27 +0100, Remi Collet wrote:
> 1/ It's ok to keep this file here and use
> %doc %{pear_docdir}/foo
This is the solution used in the R packages.

packaging mailing list

All times are GMT. The time now is 04:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.