update to 2.0.3 (bugfix)

This commit is contained in:
Remi Collet 2013-12-11 16:17:08 +01:00
parent 065d7c3db3
commit 6d7bdd21e4
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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)

View File

@ -1 +1 @@
53beac2317c6d468590b39926aae59a0 pecl_http-2.0.1.tgz
e2b23dcb43cd1af318558e7c114b4352 pecl_http-2.0.3.tgz