Changes of Revision 24
[-] | 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 -%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4) 6 +%define _php_version %( echo `%{_bindir}/php-config --version 2>/dev/null` ) 7 +%define _php_extdir %( echo `%{_bindir}/php-config --extension-dir 2>/dev/null` || echo %{_libdir}/php4) 8 %define __pecl %{_bindir}/pecl 9 10 Name: php-sqlite2 11 -Version: %{php_version} 12 +Version: %{_php_version} 13 Release: 1 14 License: GPL 15 Url: http://pecl.php.net 16
17 18 %build 19 20 -%if 0%{?php_version} <= 5.3 21 +%if 0%{?_php_version} <= 5.3.0 22 %patch0 23 %endif 24 25 |