Re: php, pear and rpm
| From: | Blues | Date: | Sun, 04 Aug 2002 22:18:12 +0000 |
| Subject: | Re: php, pear and rpm | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8163@lists.php.net to get a copy of this message | ||
On 3 Aug 2002, Peter Bowen wrote:
> > Since rpm-4.1 (next version) there will be in official rpm script to
> > generate dependencies in pear packages, which I made for PLD.
> This looks like a very nice script. I am definately looking forward to
> using it my packages. However, I do have two issues with it. First,
> IMHO the dependencies should be php(foo) not pear(foo). This follows
> the perl model, where you depend on perl(foo) rather than cpan(foo).
good point.
I'll change it in next release. not now, because we have prepared beta2 of
our distro - in few weeks.
> Second, it generates bogus dependencies on php(parent). The parent::foo
> construct is a language feature, implemented by the Zend Engine. there
> can never be a class named parent, nor will any package provide a class
> named parent.
I know - this is on my TODO-list from some time.
> Additionally, looking at your spec files, I would suggest that the main
> php package provide php(stdClass), as this is actually provided by the
> Zend Engine. php(stdClass) is coded into the engine, as opposed to
> being written in PHP.
as above - this is only short workaround.
> Please realizes this is just me nitpicking. The scripts look great, and
> should make it much easier for vendors to ship pear modules.
It was made to make it easier for me :)
--
---------------------------------
pozdr. Paweł Gołaszewski
---------------------------------
CPU not found - software emulation...