diff options
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r-- | php-pecl-http.spec | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 17aa5d4..b2931fa 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -31,7 +31,7 @@ # after 40-raphf %global ini_name 50-%{pecl_name}.ini -%global upstream_version 4.2.6 +%global upstream_version 4.3.1 #global upstream_prever beta1 #global upstream_lower beta1 %global sources %{proj_name}-%{upstream_version}%{?upstream_prever} @@ -39,7 +39,7 @@ Name: %{?scl_prefix}php-pecl-http Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz Summary: Extended HTTP support @@ -49,10 +49,7 @@ URL: https://pecl.php.net/package/pecl_http # From http://www.php.net/manual/en/http.configuration.php Source1: %{proj_name}.ini -Patch0: 0001-fix-incompatible-pointer-type.patch -Patch1: 0001-return-string-in-output-handler.patch -Patch2: 0001-fix-SplObjectStorage-at-de-tach-deprecation-warnings.patch -Patch3: 0002-fix-150.patch +Patch0: 0001-re-add-curl-7.61-specific-code.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -60,7 +57,7 @@ BuildRequires: %{?scl_prefix}php-devel >= 8.0 BuildRequires: %{?scl_prefix}php-spl BuildRequires: %{?scl_prefix}php-pear BuildRequires: zlib-devel >= 1.2.0.4 -BuildRequires: curl-devel >= 7.18.2 +BuildRequires: curl-devel >= 7.61.1 # We require 73 to ensure we use the same version than PHP BuildRequires: pkgconfig(icu-i18n) >= 73 BuildRequires: %{?scl_prefix}php-pecl-raphf-devel >= 2 @@ -129,9 +126,6 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml cd %{sources} %patch -P0 -p1 -%patch -P1 -p1 -%patch -P2 -p1 -%patch -P3 -p1 extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -289,6 +283,16 @@ TEST_PHP_ARGS="-n $modules -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \ %changelog +* Fri Oct 10 2025 Remi Collet <remi@remirepo.net> - 4.3.1-1 +- update to 4.3.1 +- open https://github.com/m6w6/ext-http/issues/151 + test suite hangs with old libcurl (EL-8) +- fix build with libcurl 7.61 (EL-8) using patch from + https://github.com/m6w6/ext-http/pull/152 + +* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 4.2.6-8 +- rebuild for PHP 8.5.0RC1 + * Mon Sep 1 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-7 - add upstream patches for 8.5.0beta2 |