summaryrefslogtreecommitdiffstats
path: root/php-pecl-http.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-07-08 15:31:48 +0200
committerRemi Collet <remi@php.net>2025-07-08 15:31:48 +0200
commitca734bce7fb2c46bcfb256ec0cc99a60f22612bf (patch)
tree1fc7766e5f4b3bba4c4e613274dbdd29f4582d7b /php-pecl-http.spec
parent0a179ccabbb6978e2e077ad0bcca080ffdf16e0e (diff)
add patch for test suite with PHP 8.5 fromHEADmaster
https://github.com/m6w6/ext-http/pull/148
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r--php-pecl-http.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 62f8724..468d518 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -37,7 +37,7 @@
Name: %{?scl_prefix}php-pecl-http
Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?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
@@ -48,6 +48,7 @@ URL: https://pecl.php.net/package/pecl_http
Source1: %{proj_name}.ini
Patch0: 0001-fix-incompatible-pointer-type.patch
+Patch1: 0001-ignore-deprecated.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -119,6 +120,7 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd %{sources}
%patch -P0 -p1
+%patch -P1 -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
@@ -276,6 +278,10 @@ TEST_PHP_ARGS="-n $modules -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \
%changelog
+* Tue Jul 8 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-4
+- add patch for test suite with PHP 8.5 from
+ https://github.com/m6w6/ext-http/pull/148
+
* Thu Jan 23 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-3
- fix incompatible pointer type FTBFS #2341063
using patch from https://github.com/m6w6/ext-http/pull/143