From 19336b09dd7b483d9bb1086b4cc4ca33462dbb08 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 7 May 2017 08:26:23 +0200 Subject: cleanup --- php-pecl-http.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 8d64221..940a145 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -107,6 +107,10 @@ Obsoletes: php70w-pecl-http <= %{version} Obsoletes: php71u-pecl-http <= %{version} Obsoletes: php71w-pecl-http <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-http <= %{version} +Obsoletes: php72w-pecl-http <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -128,9 +132,7 @@ capabilities. Also provided is a powerful request and parallel interface. -Version 2 is completely incompatible to previous version. - -Documentation : http://devel-m6w6.rhcloud.com/mdref/http +Documentation : https://mdref.m6w6.name/http Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -140,13 +142,7 @@ 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 %if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel = %{version}%{?prever} Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel%{?_isa} = %{version}%{?prever} -- cgit