From Fedora at FamilleCollet.com Sat Dec 19 11:42:11 2009 From: Fedora at FamilleCollet.com (Remi Collet) Date: Sat, 19 Dec 2009 12:42:11 +0100 Subject: [Fedora-php-devel-list] PHP Guidelines Message-ID: <4B2CBC13.7020607@FamilleCollet.com> Hi, Last draft https://fedoraproject.org/wiki/PackagingDrafts/PHP have been approved by FPC, but not change on official page ? I'd like to add a new change PEAR Packages from a non standard channel/repository A PEAR package MUST have: BuildRequires: php-channel(channelname) BuildRequires: php-pear(PEAR) Requires: php-pear(PEAR) -Requires(post): %{__pear} -Requires(postun): %{__pear} +Requires(post): php-channel(channelname) +Requires(postun): php-channel(channelname) Requires: php-channel(channelname) Provides: php-pear(channelname/foo) = %{version} This will solve issue with "channel" package uninstalled before pear package (postun scriptlet will fail) Remi. From Fedora at FamilleCollet.com Sun Dec 20 07:43:33 2009 From: Fedora at FamilleCollet.com (Remi Collet) Date: Sun, 20 Dec 2009 08:43:33 +0100 Subject: [Fedora-php-devel-list] PHP Guidelines In-Reply-To: <4B2CBC13.7020607@FamilleCollet.com> References: <4B2CBC13.7020607@FamilleCollet.com> Message-ID: <4B2DD5A5.2020505@FamilleCollet.com> Le 19/12/2009 12:42, Remi Collet a ?crit : > +Requires(post): php-channel(channelname) > +Requires(postun): php-channel(channelname) > This will solve issue with "channel" package uninstalled before pear > package (postun scriptlet will fail) Well.. this doesn't fix anything. yum remove php-channel-phpunit (p.e.) will remove php-channel-phpunit "before" php-pear-PHPUnit so the pear channel-delete command fails. => Channel "pear.phpunit.de" has installed packages, cannot delete Any idea on how to fix this ? Remi