[Fedora-packaging] PHP Guidelines

Remi Collet Fedora at FamilleCollet.com
Sat Dec 19 11:42:11 UTC 2009


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)


More information about the Fedora-packaging mailing list