Description of problem: "pear makerpm" does not always produce spec files that build. Upstream bug http://pear.php.net/bugs/bug.php?id=6047 has been filed, which includes a patch backported to PEAR 1.3.5 (which is included with php-pear-5.0.4-10.5). Full details are in the upstream bug and are not reproduced here (though can be if it helps). The patch (against FC) which fixes the issue is attached to this bug.
Created attachment 121393 [details] fix against php-pear-5.0.4 included with FC4
Created attachment 121394 [details] updated patch that actually works sorry, 1-char typo in previous patch
Fix has been accepted into CVS upstream.
There is now an upstream PEAR 1.4.6 release which includes this fix. So a build of PEAR 1.4.6 will close this bug.