Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Placement of %doc (http://www.linux-archive.org/fedora-packaging/317579-placement-doc.html)

Remi Collet 01-30-2010 04:27 PM

Placement of %doc
 
Hi,

I'm searching info about %doc placement.

Most of %doc files (from source tree) goes under
/usr/share/doc/<package_name>-<version>

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
https://bugzilla.redhat.com/show_bug.cgi?id=551724

And an (old) bug is open against php-pear
https://bugzilla.redhat.com/show_bug.cgi?id=468255

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

Regards.


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
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

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.

Pierre
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


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.