[php-pecl-http] update to 2.1.1

Remi Collet remi at fedoraproject.org
Tue Sep 9 09:25:56 UTC 2014


commit 5f58c251c59a86fa509dadea1f8fbd9f45df7bad
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Sep 9 11:25:48 2014 +0200

    update to 2.1.1

 .gitignore               |    1 +
 pecl_http-upstream.patch |   78 ----------------------------------------------
 php-pecl-http.spec       |   22 +++++--------
 sources                  |    2 +-
 4 files changed, 11 insertions(+), 92 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1cbe46e..56fcdc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ php-pecl-http.spec~
 /pecl_http-2.0.6.tgz
 /pecl_http-2.0.7.tgz
 /pecl_http-2.1.0.tgz
+/pecl_http-2.1.1.tgz
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 77853b7..68d59a8 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -25,8 +25,8 @@
 %global with_tests %{?_without_tests:0}%{!?_without_tests:1}
 
 Name:           php-pecl-http
-Version:        2.1.0
-Release:        2%{?dist}
+Version:        2.1.1
+Release:        1%{?dist}
 Summary:        Extended HTTP support
 
 License:        BSD
@@ -37,8 +37,6 @@ Source0:        http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz
 # From http://www.php.net/manual/en/http.configuration.php
 Source1:        %{proj_name}.ini
 
-Patch0:         %{proj_name}-upstream.patch
-
 BuildRequires:  php-devel >= 5.3.0
 BuildRequires:  php-hash
 BuildRequires:  php-iconv
@@ -132,8 +130,6 @@ These are the files needed to compile programs using HTTP extension.
 mv %{proj_name}-%{version}%{?prever} NTS
 cd NTS
 
-%patch0 -p1 -b .offline
-
 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}.
@@ -200,14 +196,10 @@ done
 %check
 %if "%{php_version}" < "5.4"
 # Known failed test with 5.3.3 (need investigations)
-rm ?TS/tests/envrequestbody001.phpt \
-   ?TS/tests/envrequestbody002.phpt \
-   ?TS/tests/envrequestbody003.phpt \
-   ?TS/tests/envrequestjson002.phpt \
-   ?TS/tests/envresponse015.phpt
-%endif
-
+export REPORT_EXIT_STATUS=0
+%else
 export REPORT_EXIT_STATUS=1
+%endif
 
 # Shared needed extensions
 modules=""
@@ -283,6 +275,10 @@ fi
 
 
 %changelog
+* Tue Sep  9 2014 Remi Collet <remi at fedoraproject.org> - 2.1.1-1
+- Update to 2.1.1
+- drop upstream patches
+
 * Wed Sep  3 2014 Remi Collet <remi at fedoraproject.org> - 2.1.0-2
 - more upstream patch, fix for arm/ppc64
 
diff --git a/sources b/sources
index 5810b0f..a097596 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-32b7d03c761a9e789dc6ad49daf2c101  pecl_http-2.1.0.tgz
+9a4f85de4238930f492aedf6f857d143  pecl_http-2.1.1.tgz


More information about the scm-commits mailing list