diff options
author | Remi Collet <remi@remirepo.net> | 2025-09-26 15:45:04 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-09-26 15:45:04 +0200 |
commit | e23b806e12be5d02c6746ed73888a9323f952fd0 (patch) | |
tree | 8dfc1ff4c019ade404586e9788f902e6da1d1760 /uwsgi-plugin-php.spec | |
parent | b22f4287e987803ee3797ce043e41f79729b8284 (diff) |
https://github.com/unbit/uwsgi/pull/2742
Diffstat (limited to 'uwsgi-plugin-php.spec')
-rw-r--r-- | uwsgi-plugin-php.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/uwsgi-plugin-php.spec b/uwsgi-plugin-php.spec index 3603ee9..82436b0 100644 --- a/uwsgi-plugin-php.spec +++ b/uwsgi-plugin-php.spec @@ -29,13 +29,15 @@ Requires: %{scl_prefix}php-embedded Name: %{?scl_prefix}%{project}-plugin-php Version: 2.0.30 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: uWSGI - Plugin for PHP support License: GPL-2.0-only with exceptions URL: http://projects.unbit.it/uwsgi Source0: https://github.com/unbit/uwsgi/archive/refs/tags/%{version}.tar.gz +Patch0: 0001-STR_EMPTY_ALLOC-removed-in-PHP-8.5.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-embedded @@ -67,6 +69,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO # Fix makefile sed -e 's:/lib:/%{_lib}:' -i plugins/php/uwsgiplugin.py +%patch -P0 -p1 + %build # for php-config PATH (mandatory for SCL) @@ -88,6 +92,10 @@ install -Dpm 755 %{?scl}%{!?scl:php}_plugin.so %{buildroot}%{_root_libdir}/%{pro %changelog +* Fri Sep 26 2025 Remi Collet <remi@remirepo.net> - 2.0.30-2 +- add patch for PHP 8.5 from + https://github.com/unbit/uwsgi/pull/2742 + * Wed Jun 25 2025 Remi Collet <remi@remirepo.net> - 2.0.30-1 - update to 2.0.30 |