Changes of Revision 21
[-] | Changed | php-sqlite2.spec |
x 1
2 %define pkgname SQLite 3 %define pkgversion 1.0.3 4 +%define php_version %(php-config --version 2>/dev/null) 5 6 %{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}} 7 %global php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4) 8 %global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1) 9 -%define php_version %((echo 0; php-config --version 2>/dev/null) | tail -1) 10 - 11 12 Name: php-sqlite2 13 Version: %{php_version} 14 |