update to 4.0.0 (stable)
raise dependency on PHP 8.0 drop dependency on propro extension obsolete propro to allow upgrade from 7.x
This commit is contained in:
parent
faabf79f6b
commit
161603f20f
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ clog
|
||||
/pecl_http-3.2.2.tgz
|
||||
/pecl_http-3.2.3.tgz
|
||||
/pecl_http-3.2.4.tgz
|
||||
/pecl_http-4.0.0.tgz
|
||||
|
@ -14,7 +14,7 @@
|
||||
%global proj_name pecl_http
|
||||
%global pecl_name http
|
||||
%global with_zts 0%{?__ztsphp:1}
|
||||
# after 20-iconv 40-propro 40-raphf
|
||||
# after 20-iconv 40-raphf
|
||||
%global ini_name 50-%{pecl_name}.ini
|
||||
%ifarch %{arm} aarch64
|
||||
# Test suite disabled because of erratic results on slow ARM (timeout)
|
||||
@ -23,12 +23,12 @@
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
%endif
|
||||
|
||||
%global upstream_version 3.2.4
|
||||
%global upstream_version 4.0.0
|
||||
#global upstream_prever RC1
|
||||
|
||||
Name: php-pecl-http
|
||||
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Extended HTTP support
|
||||
|
||||
License: BSD
|
||||
@ -40,8 +40,7 @@ Source1: %{proj_name}.ini
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: php-devel >= 7.0
|
||||
BuildRequires: php-hash
|
||||
BuildRequires: php-devel >= 8.0
|
||||
BuildRequires: php-iconv
|
||||
BuildRequires: php-spl
|
||||
BuildRequires: php-pear
|
||||
@ -49,8 +48,7 @@ BuildRequires: pcre-devel
|
||||
BuildRequires: zlib-devel >= 1.2.0.4
|
||||
BuildRequires: curl-devel >= 7.18.2
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: php-pecl-propro-devel >= 1.0.0
|
||||
BuildRequires: php-pecl-raphf-devel >= 1.1.0
|
||||
BuildRequires: php-pecl-raphf-devel >= 2
|
||||
BuildRequires: libevent-devel >= 1.4
|
||||
BuildRequires: brotli-devel >= 1.0
|
||||
BuildRequires: pkgconfig
|
||||
@ -59,13 +57,13 @@ BuildRequires: openssl-devel
|
||||
|
||||
Requires: php(zend-abi) = %{php_zend_api}
|
||||
Requires: php(api) = %{php_core_api}
|
||||
Requires: php-hash%{?_isa}
|
||||
Requires: php-iconv%{?_isa}
|
||||
Requires: php-spl%{?_isa}
|
||||
Requires: php-pecl(propro)%{?_isa} >= 1.0.0
|
||||
Requires: php-pecl(raphf)%{?_isa} >= 1.1.0
|
||||
Requires: php-raphf%{?_isa} >= 2
|
||||
# V1 don't support PHP 5.6 https://bugs.php.net/66879
|
||||
Obsoletes: php-pecl-http1 < 2
|
||||
# to allow migration from PHP 7 (last is 2.1.0)
|
||||
Obsoletes: php-pecl-propro < 2.2
|
||||
|
||||
Provides: php-pecl(%{proj_name}) = %{version}
|
||||
Provides: php-pecl(%{proj_name})%{?_isa} = %{version}
|
||||
@ -194,7 +192,7 @@ rm ?TS/tests/etag001.phpt
|
||||
|
||||
# Shared needed extensions
|
||||
modules=""
|
||||
for mod in hash iconv propro raphf; do
|
||||
for mod in iconv raphf; do
|
||||
if [ -f %{php_extdir}/${mod}.so ]; then
|
||||
modules="$modules -d extension=${mod}.so"
|
||||
fi
|
||||
@ -255,6 +253,12 @@ NO_INTERACTION=1 \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 4 2021 Remi Collet <remi@remirepo.net> - 4.0.0-1
|
||||
- update to 4.0.0 (stable)
|
||||
- raise dependency on PHP 8.0
|
||||
- drop dependency on propro extension
|
||||
- obsolete propro to allow upgrade from 7.x
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pecl_http-3.2.4.tgz) = 59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
|
||||
SHA512 (pecl_http-4.0.0.tgz) = 268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
|
||||
|
Loading…
Reference in New Issue
Block a user