Compare commits

...
Sign in to create a new pull request.

10 commits

Author SHA1 Message Date
Ralf Ertzinger
a640b02538 Enable EPEL11 2026-09-01 19:56:18 +02:00
Python Maint
29c02d4b8a Rebuilt for Python 3.15.0b4 ABI change 2026-07-24 12:56:51 +02:00
Jitka Plesnikova
2cf2ba6161 Perl 5.44 rebuild 2026-07-23 18:40:06 +02:00
Python Maint
20fdba0f4f Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:16:31 +02:00
Fedora Release Engineering
2d13953aa5 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:19:22 +00:00
Ralf Ertzinger
2ea7b81b03 Add python3.14 module for EL9 2026-06-25 17:40:46 +02:00
Yaakov Selkowitz
c10ca8439f Rebuilt for openssl 4.0 2026-06-12 20:00:42 -04:00
Python Maint
b2d96de7be Rebuilt for Python 3.15 2026-06-04 09:33:05 +02:00
Tom spot Callaway
7f70824fa6 rebuild 2026-04-16 22:39:05 -04:00
Tom spot Callaway
aa7f25ce2d rebuild for lua 5.5 2026-03-16 16:07:10 -04:00

View file

@ -168,6 +168,14 @@
%global python3_alternate3_version 3.13
%global python3_alternate3_version_nodots 313
%endif
%bcond_without python3_alternate4
%if %{with python3_alternate4}
%global python3_alternate4_pkgname python3.14
%global __python3_alternate4 python3.14
%global python3_alternate4_sitelib %(RPM_BUILD_ROOT= %{__python3_alternate4} -Ic "import sysconfig; print(sysconfig.get_path('purelib', vars={'platbase': '%{_prefix}', 'base': '%{_prefix}'}))")
%global python3_alternate4_version 3.14
%global python3_alternate4_version_nodots 314
%endif
#EL9 endif
%endif
@ -226,7 +234,65 @@
%global python3_alternate1_version 3.12
%global python3_alternate1_version_nodots 312
%endif
#EL9 endif
#EL10 endif
%endif
%if 0%{?rhel} == 11
# EPEL11 does not have gcc-go
%bcond_with go
%bcond_without python3
# EPEL11 does not have python-greenlet-devel any more
%bcond_with python3_greenlet
%bcond_without ruby19
%bcond_without tuntap
# EPEL11 doesn't have zeromq yet
%bcond_with zeromq
%bcond_without perl
# EPEL11 doesn't have perl-Coro yet
%bcond_with perlcoro
# EPEL11 doesn't have glusterfs yet
%bcond_with glusterfs
%bcond_without php
%bcond_without pq
%bcond_without ruby_rack
# EPEL11 doesn't have gloox yet
%bcond_with gloox
# EPEL11 doesn't have GeoIP yet
%bcond_with geoip
# javapackages-tools retired (apache-ivy orphanage)
%bcond_with java
# Fedora httpd includes mod_proxy_uwsgi
# https://bugzilla.redhat.com/show_bug.cgi?id=1574335
%bcond_with mod_proxy_uwsgi
#mono
# EPEL11 doesn't have mono yet
%ifarch %{mono_arches}
%bcond_with mono
%else
%bcond_with mono
%endif
# mongodblibs
# mongo-cxx-driver-legacy broken in rawhide rhbz#1675407
%bcond_with mongodblibs
# v8-314 retired
%bcond_with v8
#mongodblibs dependency
%if %{without mongodblibs}
%bcond_with gridfs
%else
%bcond_without gridfs
%endif
# EL11 has multiple python3 versions
%bcond_without python3_alternate1
%if %{with python3_alternate1}
%global python3_alternate1_pkgname python3.15
%global __python3_alternate1 python3.15
%global python3_alternate1_sitelib %(RPM_BUILD_ROOT= %{__python3_alternate1} -Ic "import sysconfig; print(sysconfig.get_path('purelib', vars={'platbase': '%{_prefix}', 'base': '%{_prefix}'}))")}
%global python3_alternate1_version 3.15
%global python3_alternate1_version_nodots 315
%endif
#EL11 endif
%endif
%global manual_py_compile 1
@ -250,6 +316,9 @@
%if %{with python3_alternate3}
%global __python %{__python3_alternate3}
%else
%if %{with python3_alternate4}
%global __python %{__python3_alternate4}
%else
%if %{with python2}
%global __python %{__python2}
%else
@ -259,10 +328,11 @@
%endif
%endif
%endif
%endif
Name: uwsgi
Version: 2.0.31
Release: 6%{?dist}
Release: 16%{?dist}
Summary: Fast, self-healing, application container server
# uwsgi is licensed under GPLv2 with a linking exception
# docs are licensed under MIT
@ -321,6 +391,9 @@ BuildRequires: %{python3_alternate2_pkgname}-devel
%if %{with python3_alternate3}
BuildRequires: %{python3_alternate3_pkgname}-devel
%endif
%if %{with python3_alternate4}
BuildRequires: %{python3_alternate4_pkgname}-devel
%endif
%if %{with glusterfs}
BuildRequires: glusterfs-devel, glusterfs-api-devel
%endif
@ -476,6 +549,17 @@ The uwsgidecorators Python %{python3_alternate3_version} module provides
higher-level access to the uWSGI API.
%endif
%if %{with python3_alternate4}
%package -n %{python3_alternate4_pkgname}-uwsgidecorators
Summary: Python %{python3_alternate4_version} decorators providing access to the uwsgi API
Requires: uwsgi = %{version}-%{release}
Requires: uwsgi-plugin-python%{python3_alternate4_version_nodots} = %{version}-%{release}
%description -n %{python3_alternate4_pkgname}-uwsgidecorators
The uwsgidecorators Python %{python3_alternate4_version} module provides
higher-level access to the uWSGI API.
%endif
%package -n uwsgi-docs
Summary: uWSGI - Documentation
Requires: uwsgi
@ -844,6 +928,15 @@ Requires: uwsgi-plugin-python%{python3_alternate3_version_nodots} = %{version}-%
This package contains the Python %{python3_alternate3_version} gevent plugin for uWSGI
%endif
%if %{with python3_alternate4}
%package -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
Summary: uWSGI - Plugin for Python %{python3_alternate4_version} GEvent support
Requires: uwsgi-plugin-python%{python3_alternate4_version_nodots} = %{version}-%{release}, libevent
%description -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
This package contains the Python %{python3_alternate4_version} gevent plugin for uWSGI
%endif
%if %{with glusterfs}
%package -n uwsgi-plugin-glusterfs
Summary: uWSGI - Plugin for GlusterFS support
@ -1021,6 +1114,15 @@ Requires: %{python3_alternate3_pkgname}, uwsgi-plugin-common = %{version}-%{rele
This package contains the Python %{python3_alternate3_version} plugin for uWSGI
%endif
%if %{with python3_alternate4}
%package -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
Summary: uWSGI - Plugin for Python %{python3_alternate4_version} support
Requires: %{python3_alternate4_pkgname}, uwsgi-plugin-common = %{version}-%{release}
%description -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
This package contains the Python %{python3_alternate4_version} plugin for uWSGI
%endif
%if %{with ruby_rack}
%package -n uwsgi-plugin-rack
Summary: uWSGI - Ruby rack plugin
@ -1409,6 +1511,10 @@ CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate2} uwsgic
CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate3} uwsgiconfig.py --verbose --plugin plugins/python fedora python%{python3_alternate3_version_nodots}
CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate3} uwsgiconfig.py --verbose --plugin plugins/gevent fedora python%{python3_alternate3_version_nodots}_gevent
%endif
%if %{with python3_alternate4}
CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate4} uwsgiconfig.py --verbose --plugin plugins/python fedora python%{python3_alternate4_version_nodots}
CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate4} uwsgiconfig.py --verbose --plugin plugins/gevent fedora python%{python3_alternate4_version_nodots}_gevent
%endif
%if %{with mongodblibs}
CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python} uwsgiconfig.py --verbose --plugin plugins/mongodblog fedora
CFLAGS="%{optflags} -Wno-unused-but-set-variable -std=gnu++11 -Wno-error" %{__python2} uwsgiconfig.py --verbose --plugin plugins/stats_pusher_mongodb fedora
@ -1539,6 +1645,12 @@ install -D -p -m 0644 uwsgidecorators.py %{buildroot}%{python3_alternate3_siteli
%py_byte_compile %{__python3_alternate3} %{buildroot}%{python3_alternate3_sitelib}/uwsgidecorators.py
%endif
%endif
%if %{with python3_alternate4}
install -D -p -m 0644 uwsgidecorators.py %{buildroot}%{python3_alternate4_sitelib}/uwsgidecorators.py
%if %{manual_py_compile} == 1
%py_byte_compile %{__python3_alternate4} %{buildroot}%{python3_alternate4_sitelib}/uwsgidecorators.py
%endif
%endif
%if %{with java}
install -D -p -m 0644 plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar
%endif
@ -1607,6 +1719,12 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
%{python3_alternate3_sitelib}/__pycache__/uwsgidecorators.cpython-%{python3_alternate3_version_nodots}*.py*
%endif
%if %{with python3_alternate4}
%files -n %{python3_alternate4_pkgname}-uwsgidecorators
%{python3_alternate4_sitelib}/uwsgidecorators.py
%{python3_alternate4_sitelib}/__pycache__/uwsgidecorators.cpython-%{python3_alternate4_version_nodots}*.py*
%endif
%files -n uwsgi-docs
%doc docs
@ -1784,6 +1902,11 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
%{_libdir}/uwsgi/python%{python3_alternate3_version_nodots}_gevent_plugin.so
%endif
%if %{with python3_alternate4}
%files -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
%{_libdir}/uwsgi/python%{python3_alternate4_version_nodots}_gevent_plugin.so
%endif
%if %{with glusterfs}
%files -n uwsgi-plugin-glusterfs
%{_libdir}/uwsgi/glusterfs_plugin.so
@ -1873,6 +1996,11 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
%{_libdir}/uwsgi/python%{python3_alternate3_version_nodots}_plugin.so
%endif
%if %{with python3_alternate4}
%files -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
%{_libdir}/uwsgi/python%{python3_alternate4_version_nodots}_plugin.so
%endif
%if %{with ruby_rack}
%files -n uwsgi-plugin-rack
%{_libdir}/uwsgi/rack_plugin.so
@ -2030,6 +2158,36 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
%changelog
* Mon Aug 24 2026 Ralf Ertzinger <ralf@skytale.net> - 2.0.31-16
- Enable EPEL11
* Fri Jul 24 2026 Python Maint <python-maint@redhat.com> - 2.0.31-15
- Rebuilt for Python 3.15.0b4 ABI change
* Thu Jul 23 2026 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.31-14
- Perl 5.44 rebuild
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.0.31-13
- Rebuilt for Python 3.15.0b4 ABI change
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.31-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 25 2026 Ralf Ertzinger <ralf@skytale.net> - 2.0.31-11
- Add python3.14 module for EL9
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.0.31-10
- Rebuilt for openssl 4.0
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.0.31-9
- Rebuilt for Python 3.15
* Thu Apr 16 2026 Tom Callaway <spot@fedoraproject.org> - 2.0.31-8
- rebuild
* Sun Mar 15 2026 Tom Callaway <spot@fedoraproject.org> - 2.0.31-7
- rebuild for lua 5.5
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.31-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild