summaryrefslogtreecommitdiffstats
path: root/uwsgi-plugin-php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'uwsgi-plugin-php.spec')
-rw-r--r--uwsgi-plugin-php.spec26
1 files changed, 20 insertions, 6 deletions
diff --git a/uwsgi-plugin-php.spec b/uwsgi-plugin-php.spec
index c864b7c..82436b0 100644
--- a/uwsgi-plugin-php.spec
+++ b/uwsgi-plugin-php.spec
@@ -1,8 +1,8 @@
# remirepo/fedora spec file for uwsgi-plugin-php
#
-# Copyright (c) 2017-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -28,14 +28,16 @@ Requires: %{scl_prefix}php-embedded
%endif
Name: %{?scl_prefix}%{project}-plugin-php
-Version: 2.0.28
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 2.0.30
+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)
@@ -83,12 +87,22 @@ install -Dpm 755 %{?scl}%{!?scl:php}_plugin.so %{buildroot}%{_root_libdir}/%{pro
%files
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_root_libdir}/uwsgi/%{?scl}%{!?scl:php}_plugin.so
%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
+
+* Tue Apr 22 2025 Remi Collet <remi@remirepo.net> - 2.0.29-1
+- update to 2.0.29
+- re-license spec file to CECILL-2.1
+
* Mon Nov 18 2024 Remi Collet <remi@remirepo.net> - 2.0.28-1
- update to 2.0.28