OK, fair enough, let's go with Remi's solution. Remi, please
feel free
to go ahead and commit your changes to upgrade to 1.6.x!
Some works before I commit the new spec :
I build :
php-pear-1.5.4-4.noarch.rpm is build from actual spec file in CVS
php-pear-1.5.4-5.fc8.noarch.rpm is build using new spec file
## Check the RPM content => OK
$ rpm -qlp php-pear-1.5.4-4.noarch.rpm | sort >oldrpm
$ rpm -qlp php-pear-1.5.4-5.fc8.noarch.rpm | sort >newrpm
$ diff oldrpm newrpm && echo OK
OK
$ mkdir new old
$ (cd old; rpm2cpio php-pear-1.5.4-4.noarch.rpm| cpio -id)
4336 blocs
$ (cd new; rpm2cpio php-pear-1.5.4-5.fc8.noarch.rpm | cpio -id)
4350 blocs
## check the installed files
$ LANG=C diff -r --brief old new
Files old/usr/share/pear/.channels/__uri.reg and
new/usr/share/pear/.channels/__uri.reg differ
Files old/usr/share/pear/.channels/pear.php.net.reg and
new/usr/share/pear/.channels/pear.php.net.reg differ
Files old/usr/share/pear/.channels/pecl.php.net.reg and
new/usr/share/pear/.channels/pecl.php.net.reg differ
Files old/usr/share/pear/.registry/archive_tar.reg and
new/usr/share/pear/.registry/archive_tar.reg differ
Files old/usr/share/pear/.registry/console_getopt.reg and
new/usr/share/pear/.registry/console_getopt.reg differ
Files old/usr/share/pear/.registry/pear.reg and
new/usr/share/pear/.registry/pear.reg differ
Files old/usr/share/pear/.registry/structures_graph.reg and
new/usr/share/pear/.registry/structures_graph.reg differ
Files old/usr/share/pear/.registry/xml_rpc.reg and
new/usr/share/pear/.registry/xml_rpc.reg differ
## diff are mainly timestamp, and buggy "dirtree" (not used)
All seems OK, so, i go..