diff options
author | Remi Collet <remi@remirepo.net> | 2017-05-07 08:26:23 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-05-07 08:26:23 +0200 |
commit | 19336b09dd7b483d9bb1086b4cc4ca33462dbb08 (patch) | |
tree | d41521fd356bcd53b297bca95841a25afc9a908d | |
parent | 75ecc969cf8db093ab197e4a8f6a7cf0a9668673 (diff) |
cleanup
-rw-r--r-- | php-pecl-http.spec | 14 |
1 files 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} |