Packaging PHP

Christopher Stone chris.stone at gmail.com
Mon Jun 22 14:46:18 UTC 2009


On Mon, Jun 22, 2009 at 6:02 AM, Patrick MONNERAT<pm at datasphere.ch> wrote:
> I'm currently packaging some PHP classes: if I follow the packaging
> guideline at http://fedoraproject.org/wiki/Packaging:PHP#File_Placement,
> class files should appear directly in /usr/share/php, not in an
> extension-specific sub-directory.
>
> This seems rather rude: this rule will sooner or later cause name
> collision between files from packages and the directory will grow up to
> a mess very fast.
>
> Would it be possible to alter this rule to allow package-specific
> sub-directories ? I know some packages go already this way (is it by
> special authorization?).
>
> Maybe my understanding of this simple rule is too strict. In this case,
> I think it should be stated in more permissive terms.

You're supposed to be using subdirectories under /usr/share/php.  Look
at the php-Smarty package as an example, it was the first package to
use this directory and I was the one who pushed to create this
directory for other packages.  The guidelines just need to be
re-worded.

Regards,
Chris




More information about the devel mailing list