Thanks for putting php-sqlite2 into the repo, but it doesnt work for some 64bit distro's (Centos5 in my case).
Reason: http://kb.parallels.com/en/5460
The once you use is from SQLite-1.0.3.tgz tarball, I could see this in your spec file. You could use the once which is already in the official php 5.2 package /ext/sqlite or the official php-cvs package. They both have already an updated sqlite extension from the cvs.If publication host has x86_64 architecture it is suggested to use source files from here http://cvs.php.net/viewvc.cgi/pecl/sqli ... ev=PHP_5_2 and make sure that SQLite library has version 2.8.17 or upper.
Greetings,
Bart