update to 2.0.3 (bugfix)
This commit is contained in:
parent
065d7c3db3
commit
6d7bdd21e4
|
@ -13,3 +13,4 @@ php-pecl-http.spec~
|
|||
/pecl_http-2.0.0beta5.tgz
|
||||
/pecl_http-2.0.0.tgz
|
||||
/pecl_http-2.0.1.tgz
|
||||
/pecl_http-2.0.3.tgz
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
%global with_zts 0%{?__ztsphp:1}
|
||||
|
||||
Name: php-pecl-http
|
||||
Version: 2.0.1
|
||||
Version: 2.0.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Extended HTTP support
|
||||
|
||||
|
@ -58,8 +58,6 @@ Requires: php-spl%{?_isa}
|
|||
%endif
|
||||
Requires: php-pecl(propro)%{?_isa}
|
||||
Requires: php-pecl(raphf)%{?_isa}
|
||||
# From code ZEND_MOD_CONFLICTS("event")
|
||||
Conflicts: php-event
|
||||
|
||||
Provides: php-pecl(%{proj_name}) = %{version}%{?prever}
|
||||
Provides: php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever}
|
||||
|
@ -108,6 +106,9 @@ These are the files needed to compile programs using HTTP extension.
|
|||
mv %{proj_name}-%{version}%{?prever} NTS
|
||||
cd NTS
|
||||
|
||||
# http://git.php.net/?p=pecl/http/pecl_http.git;a=patch;h=441de41329327d32937f107da371435d14d7be36
|
||||
sed -e '/ZEND_MOD_CONFLICTS/d' -i php_http.c
|
||||
|
||||
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
|
||||
if test "x${extver}" != "x%{version}%{?prever}"; then
|
||||
: Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}.
|
||||
|
@ -217,6 +218,10 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 10 2013 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
|
||||
- Update to 2.0.3 (stable)
|
||||
- drop Conflicts with pecl/event
|
||||
|
||||
* Tue Nov 26 2013 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
|
||||
- Update to 2.0.1 (stable)
|
||||
|
||||
|
|
Loading…
Reference in New Issue