Changes of Revision 45
[-] | Changed | php5-pecl_http.spec |
x 1
2 %define pkg_version %(php-config --version | awk -F. '{print $1"."$2 }' 2>/dev/null || echo PHPCONFIG_NOT_FOUND) 3 %define php_version %(php-config --version 2>/dev/null) 4 %if "%{pkg_version}" >= "5.6" 5 -%define my_version 2.6.0 6 +%define my_version 2.4.3 7 %define upstream 1 8 BuildRequires: libevent-devel 9 +BuildRequires: libevent2 10 BuildRequires: php5-raphf 11 BuildRequires: php5-propro 12 Requires: php5-raphf 13
14 15 %prep 16 %setup -q -n %{pkg_name}-%{my_version} 17 -#if "%{upstream}" == "1" 18 -#patch0 19 -#endif 20 +%if "%{upstream}" == "1" 21 +%patch0 22 +%endif 23 24 #%{__mkdir} %{name} 25 26 |