[Fedora-php-devel-list] PHP Pear packages as RPMs

Remi Collet Fedora at FamilleCollet.com
Sat Jun 21 17:48:19 UTC 2008


Steven Moix a écrit :
> Hello all,
> 
> I'm new to this list (and new to RPM packaging in Fedora too), so I
> packaged 2 php-pear libraries which are currently under review by C.
> Stone. This made me think about the usefulness of packaging Pear
> libraries as RPM files...
> 
> A library installation using Pear is usually as simple as running "pear
> install xxx" so it makes me wonder if we are reinventing the wheel by
> creating RPMs. After all, pear = yet another yum-like repository with
> many common commands.
> 
> The simple answer is that we need RPMs to provide an autonomous Fedora
> installation DVD. But what about Pear RPMs which are not a dependency of
> other programs shipped with Fedora? Wouldn't it be a good idea to add
> Pear as a PackageKit backend? Or is trusting Pear directly too risky?

I'm rather asking me if we should not disable "pear install" feature ;)

Ok : not all the pear extensions available in RPM.

Using "pear install", you break your system coherency (file not owned by
any package)

Using RPM you :
- keep system coherency
- insure yourself the package have been tested on your distribution (at
least by the packager)
- have update notified by the package manager
- enable dependencies checking for web apps
	Requires; php-pear(Need_Extension)

The last is probably the most usefull.

Regards

> 
> Steven
> 
> _______________________________________________
> Fedora-php-devel-list mailing list
> Fedora-php-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-php-devel-list
> 





More information about the Fedora-php-devel-list mailing list