Logoj0ke.net Open Build Service > Projects > internetx:php5:EL5 > php-sqlite2 > Changes
Sign Up | Log In

Changes of Revision 14

[-] Changed php-sqlite2.spec
x
 
1
@@ -2,9 +2,9 @@
2
 %define        pkgversion 1.0.3
3
 
4
 %{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}                            
5
-%global php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)                     
6
-%global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1)      
7
-%global php_version %((echo 0; php-config --version 2>/dev/null) | tail -1)
8
+%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)                     
9
+%define php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1)      
10
+%define php_version %((echo 0; php-config --version 2>/dev/null) | tail -1)
11
 
12
 
13
 Name:      php-sqlite2
14
@@ -29,7 +29,7 @@
15
 
16
 %prep
17
 %setup -n %{pkgname}-%{pkgversion}
18
-%if %{php_version} <= 5.3
19
+%if 0%{?php_version} <= 5.3
20
 %patch
21
 %endif
22
 %patch1
23