diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-05-14 10:00:37 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-05-14 10:00:37 +0200 |
commit | 72e609d2b2d85439e6ebf7fc1c3fb7d2a04dab5c (patch) | |
tree | bb2661c7be4d935e8898aebea0c89fd7d5c7891d /php-pecl-http.spec | |
parent | 8b0e069b1d5ae04493283e5552dab896a28364a0 (diff) |
php-pecl-http: obsoletes php-pecl-http1 (php 5.6)
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r-- | php-pecl-http.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 3030355..56ccfbe 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -27,7 +27,7 @@ Name: %{?scl_prefix}php-pecl-http Version: 2.0.6 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Extended HTTP support License: BSD @@ -87,8 +87,13 @@ Requires: %{?scl_prefix}php-spl%{?_isa} %endif Requires: %{?scl_prefix}php-pecl(propro)%{?_isa} Requires: %{?scl_prefix}php-pecl(raphf)%{?_isa} +%if "%{php_version}" > "5.6" +# V1 don't support PHP 5.6 https://bugs.php.net/66879 +Obsoletes: %{?scl_prefix}php-pecl-http1 < 2 +%else # Can't install both versions of the same extension Conflicts: %{?scl_prefix}php-pecl-http1 +%endif Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}%{?prever} Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever} @@ -279,6 +284,9 @@ rm -rf %{buildroot} %changelog +* Wed May 14 2014 Remi Collet <remi@fedoraproject.org> - 2.0.6-2 +- php56: obsoletes php-pecl-http1 + * Thu Apr 24 2014 Remi Collet <remi@fedoraproject.org> - 2.0.6-1 - Update to 2.0.6 |