There are issues with dependent collection. Please, verify if your collection can also have same problem as Python/Ruby collection and apply fix for it. Otherwise comment why it can't be a problem and close as wontfix. Details can be seen in the tracker bug: rhbz#1002434, example in rhbz#994548.
Macros defined in php-pear %__pear %{_bindir}/pear %__pecl %{_bindir}/pecl %pear_xmldir %{_localstatedir}/lib/pear/pkgxml %pecl_xmldir %{_localstatedir}/lib/pear/pkgxml Other macros are wrapper on the pear/pecl command, so probably doesn't need to be changed.
%pear_metadir is also concerned as this macro is new on recent version (don't exists in RHEL-6) and package expect it to not be defined.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0618.html