to only one of them is included in the src.rpm :P
Hello Akemi and Tru,
It looks to me like only one patch for CentOS-5 and CentOS-6 should be possible, then no '%if' at all is needed and further maintenance of the rpm would also stay simpler. Try the attached patch for both CentOS-5 and CentOS-6, it seems to work ok for me...
regards,
Florian La Roche
P.S.: Would it make sense to also use that src.rpm for Fedora? Merging there as well would be a great next step...