[php-pecl-http/f19] update to 2.0.7

Remi Collet remi at fedoraproject.org
Fri Jul 11 14:12:00 UTC 2014


commit 72101164e414426bfe3f7a5aaec7bfb4983aee00
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jul 11 16:11:03 2014 +0200

    update to 2.0.7
    
    (cherry picked from commit f169b80a7b3ee8c82ac15cd85a9e3e6fa3cb901a)

 .gitignore         |    1 +
 php-pecl-http.spec |   19 ++++++++++++++++---
 sources            |    2 +-
 3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 60decd5..dcdc477 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ php-pecl-http.spec~
 /pecl_http-2.0.4.tgz
 /pecl_http-2.0.5.tgz
 /pecl_http-2.0.6.tgz
+/pecl_http-2.0.7.tgz
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 7b3532a..973ee71 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -15,7 +15,7 @@
 %global proj_name pecl_http
 %global pecl_name http
 %global with_zts  0%{?__ztsphp:1}
-%if 0%{?fedora} < 21
+%if "%{php_version}" < "5.6"
 # after json hash iconv propro raphf
 %global ini_name  z-%{pecl_name}.ini
 %else
@@ -24,7 +24,7 @@
 %endif
 
 Name:           php-pecl-http
-Version:        2.0.6
+Version:        2.0.7
 Release:        1%{?dist}
 Summary:        Extended HTTP support
 
@@ -65,8 +65,13 @@ Requires:       php-spl%{?_isa}
 %endif
 Requires:       php-pecl(propro)%{?_isa}
 Requires:       php-pecl(raphf)%{?_isa}
-# Can't install both version of the same extension
+%if "%{php_version}" > "5.6"
+# V1 don't support PHP 5.6 https://bugs.php.net/66879
+Obsoletes:      php-pecl-http1 < 2
+%else
+# Can't install both versions of the same extension
 Conflicts:      php-pecl-http1
+%endif
 
 Provides:       php-pecl(%{proj_name})         = %{version}%{?prever}
 Provides:       php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever}
@@ -108,6 +113,11 @@ Summary:       Extended HTTP support developer files (header)
 Group:         Development/Libraries
 Requires:      php-pecl-http%{?_isa} = %{version}-%{release}
 Requires:      php-devel%{?_isa} >= 5.3.0
+%if "%{php_version}" > "5.6"
+Obsoletes:     php-pecl-http1-devel < 2
+%else
+Conflicts:     php-pecl-http1-devel
+%endif
 
 %description devel
 These are the files needed to compile programs using HTTP extension.
@@ -236,6 +246,9 @@ fi
 
 
 %changelog
+* Fri Jul 11 2014 Remi Collet <remi at fedoraproject.org> - 2.0.7-1
+- Update to 2.0.7
+
 * Thu Apr 24 2014 Remi Collet <remi at fedoraproject.org> - 2.0.6-1
 - Update to 2.0.6
 
diff --git a/sources b/sources
index dfc90ea..4df8dab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0f1f35e79c7b4be2a5230123edc7c760  pecl_http-2.0.6.tgz
+49482e5fc049bea682d65314c65ae8ea  pecl_http-2.0.7.tgz


More information about the scm-commits mailing list