-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here is another update proposal for the PHP Guidelines. Context : some packages are provided on other channels than the default one (pear.php.net) The channel definition must be installed (in the pear registry) to allow the build, so this require an RPM of channel definition available in the repository : - - to build the package in mock. - - to install the package Note : i don't keep Requires php, as php-pear already require php and php-cli. Regards. - --------------------------------------------------------- ==Naming scheme== * CHANNEL definition packages should be named php-channel-channelname-%{version}-%{release}.noarch.rpm ==Requires and Provides== CHANNEL definition Packages * Requires: php-pear(PEAR) * Provides: php-channel(channelname) PEAR Packages * Requires: php-pear(PEAR) * Requires: php-channel(channelname) if needed * Provides: php-pear(foo) or php-pear(channelname/foo) ==Macros and scriptlets== CHANNEL definition %post if [ $1 -eq 1 ] ; then %{__pear} channel-add %{pear_xmldir}/%{channel_name}.xml > /dev/null || : else %{__pear} channel-update %{pear_xmldir}/%{channel_name}.xml > /dev/null ||: fi %postun if [ $1 -eq 0 ] ; then %{__pear} channel-delete %{channel_name} > /dev/null || : fi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFlVpJYUppBSnxahgRArDEAJ4jSt5d9UNxgnCldXdApC9fyg8L2wCg3H/z yojj8Exk1QfwtjqBtkJ4GKg= =Qb6D -----END PGP SIGNATURE----- -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging