[Fedora-packaging] Use of /usr/share/php in RPM

Remi Collet Fedora at FamilleCollet.com
Fri Jun 19 05:51:20 UTC 2009


Hi,

/usr/share/php is provided by PHP and included in include_dir defaut value.

So this seems a good place to store "class" file.

But I think we need a Guidelines

1/ to not allow direct use of /usr/share/php

=> use a sub-folder

Ex :
- php-oauth use /usr/share/php/oauth => ok
- php-xmpphp use /usr/share/php/xmpphp => ok

See reviews :
- php-hkit
Review https://bugzilla.redhat.com/show_bug.cgi?id=505358
approved but use /usr/share/php

- php-PHPMailer
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505356

- php-captchaphp
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505354



2/ to not allow install for Web application

A web application must install under /usr/share/<appname>

php-laconica seems to be a web-app installed under /usr/share/php


Comments before I propose a draft ?

Regards




More information about the Fedora-packaging mailing list