tibbs(a)math.uh.edu (Jason L Tibbitts III) writes:
I agree that it might be nice, but I don't think it reasonable to
wait
for Red Hat to push an RPM update before we can get guidelines out.
We could consider recommending:
%{!?__php: %define __php /usr/bin/php}
%{!?__pear: %define __pear /usr/bin/pear}
%{!?__pecl: %define __pecl /usr/bin/pecl}
Please use '%global' but not '%define' for such macros which might be
added to official guidelines. %define in such expressions is broken :
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=147238
Enrico