From 6e5d7189a9e051f5ead5082ada51c876e99bac74 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Oct 2022 16:45:29 +0200 Subject: add upstream patch for PHP 8.2 --- uwsgi-plugin-php.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'uwsgi-plugin-php.spec') diff --git a/uwsgi-plugin-php.spec b/uwsgi-plugin-php.spec index 20acc1b..acc0da1 100644 --- a/uwsgi-plugin-php.spec +++ b/uwsgi-plugin-php.spec @@ -29,7 +29,7 @@ Requires: %{scl_prefix}php-embedded Name: %{?scl_prefix}%{project}-plugin-php Version: 2.0.20 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: uWSGI - Plugin for PHP support License: GPLv2 with exceptions URL: http://projects.unbit.it/uwsgi @@ -42,6 +42,7 @@ Patch1: uwsgi_fix_php8.patch Patch2: uwsgi_fix_php_arginfo.patch # https://github.com/unbit/uwsgi/issues/2394 Patch3: uwsgi_fix_php81.patch +Patch4: uwsgi_fix_php82.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -98,6 +99,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # Fix makefile sed -e 's:/lib:/%{_lib}:' -i plugins/php/uwsgiplugin.py @@ -124,6 +126,9 @@ install -Dpm 755 %{?scl}%{!?scl:php}_plugin.so %{buildroot}%{_root_libdir}/%{pro %changelog +* Mon Oct 17 2022 Remi Collet - 2.0.20-3 +- add upstream patch for PHP 8.2 + * Thu Jun 9 2022 Remi Collet - 2.0.20-2 - add upstream patch for PHP 8.1 -- cgit