Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package uwsgi for openSUSE:Factory checked 
in at 2022-12-15 19:24:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uwsgi (Old)
 and      /work/SRC/openSUSE:Factory/.uwsgi.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uwsgi"

Thu Dec 15 19:24:17 2022 rev:46 rq:1042908 version:2.0.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/uwsgi/uwsgi.changes      2022-08-05 
19:50:30.437379163 +0200
+++ /work/SRC/openSUSE:Factory/.uwsgi.new.1835/uwsgi.changes    2022-12-15 
19:24:20.611762155 +0100
@@ -1,0 +2,5 @@
+Tue Nov 15 10:58:25 UTC 2022 - pgaj...@suse.com
+
+- php8 is supported already
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ uwsgi.spec ++++++
--- /var/tmp/diff_new_pack.syVSlv/_old  2022-12-15 19:24:21.203765523 +0100
+++ /var/tmp/diff_new_pack.syVSlv/_new  2022-12-15 19:24:21.207765545 +0100
@@ -16,6 +16,17 @@
 #
 
 
+%define with_php 1
+%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} >= 1550
+%define php  php8
+%else
+%define php  php7
+%endif
+%else
+%define with_php 0
+%endif
+
 %{?!python_module:%define python_module() python3-%{**}}
 Name:           uwsgi
 Version:        2.0.20
@@ -86,9 +97,9 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
 BuildRequires:  pcre-devel
-%if 0%{?suse_version} > 1320
-BuildRequires:  php7-devel
-BuildRequires:  php7-embed
+%if %{with_php}
+BuildRequires:  %{php}-devel
+BuildRequires:  %{php}-embed
 %endif
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module greenlet-devel}
@@ -407,14 +418,14 @@
 
 This package contains support for rendering XML content using XSLT.
 
-%if 0%{?suse_version} > 1320
-%package php7
+%if %{with_php}
+%package %{php}
 Summary:        PHP7 Plugin for uWSGI
 Group:          Productivity/Networking/Web/Servers
 Requires:       %{name} = %{version}
-Requires:       php7-embed
+Requires:       %{php}-embed
 
-%description php7
+%description %{php}
 uWSGI is a self-healing application container server coded in pure C.
 
 This package contains support for PHP version 7.
@@ -534,9 +545,9 @@
 %endif
 %{apache_apxs} -c apache2/mod_uwsgi.c
 
-# Build php7 plugin
-%if 0%{?suse_version} > 1320
-python3 uwsgiconfig.py --plugin plugins/php opensuse php7
+# Build php plugin
+%if %{with_php}
+python3 uwsgiconfig.py --plugin plugins/php opensuse %{php}
 %endif
 
 %install
@@ -788,7 +799,7 @@
 %{_libdir}/uwsgi/xslt_plugin.so
 
 %if 0%{?suse_version} > 1320
-%files php7
+%files %{php}
 %defattr(-,root,root,-)
 %{_libdir}/uwsgi/php*_plugin.so
 %endif

Reply via email to