Accepting request 1043055 from home:pgajdos:php8

- fixing uwsgi-php[78] package description
- rpmlint: removing obsolete specfile condition for python which is included in python-rpm-macros

OBS-URL: https://build.opensuse.org/request/show/1043055
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=113
This commit is contained in:
James Oakley 2023-01-04 09:59:22 +00:00 committed by Git OBS Bridge
parent a6713f2083
commit 6e7928265a
2 changed files with 14 additions and 1 deletions

View File

@ -4,6 +4,12 @@ Mon Dec 12 08:58:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- switch to pkgconfig(zlib) so that alternative providers can be - switch to pkgconfig(zlib) so that alternative providers can be
used used
-------------------------------------------------------------------
Tue Dec 13 19:44:00 UTC 2022 - sven@uebelacker.net
- fixing uwsgi-php[78] package description
- rpmlint: removing obsolete specfile condition for python which is included in python-rpm-macros
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 15 10:58:25 UTC 2022 - pgajdos@suse.com Tue Nov 15 10:58:25 UTC 2022 - pgajdos@suse.com

View File

@ -27,7 +27,6 @@
%define with_php 0 %define with_php 0
%endif %endif
%{?!python_module:%define python_module() python3-%{**}}
Name: uwsgi Name: uwsgi
Version: 2.0.20 Version: 2.0.20
Release: 0 Release: 0
@ -420,7 +419,11 @@ This package contains support for rendering XML content using XSLT.
%if %{with_php} %if %{with_php}
%package %{php} %package %{php}
%if 0%{?suse_version} >= 1550
Summary: PHP8 Plugin for uWSGI
%else
Summary: PHP7 Plugin for uWSGI Summary: PHP7 Plugin for uWSGI
%endif
Group: Productivity/Networking/Web/Servers Group: Productivity/Networking/Web/Servers
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: %{php}-embed Requires: %{php}-embed
@ -428,8 +431,12 @@ Requires: %{php}-embed
%description %{php} %description %{php}
uWSGI is a self-healing application container server coded in pure C. uWSGI is a self-healing application container server coded in pure C.
%if 0%{?suse_version} >= 1550
This package contains support for PHP version 8.
%else
This package contains support for PHP version 7. This package contains support for PHP version 7.
%endif %endif
%endif
%prep %prep
%setup -q -n uwsgi-%{version} %setup -q -n uwsgi-%{version}