From eefc9e327cb52661273f29dd35d7d36efc343d95 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 May 2014 10:18:22 +0200 Subject: php-pecl-http: also obsoletes -devel --- php-pecl-http.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 56ccfbe..afb333d 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -148,6 +148,13 @@ Summary: Extended HTTP support developer files (header) Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}php-devel%{?_isa} >= 5.3.0 +%if "%{php_version}" > "5.6" +# V1 don't support PHP 5.6 https://bugs.php.net/66879 +Obsoletes: %{?scl_prefix}php-pecl-http1-devel < 2 +%else +# Can't install both versions of the same extension +Conflicts: %{?scl_prefix}php-pecl-http1-devel +%endif %description devel These are the files needed to compile programs using HTTP extension. -- cgit