diff options
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r-- | php-pecl-http.spec | 8 |
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 |