Compare commits
No commits in common. "main" and "2.0.25.1-1mamba" have entirely different histories.
main
...
2.0.25.1-1
47
uwsgi.spec
47
uwsgi.spec
@ -1,5 +1,5 @@
|
|||||||
Name: uwsgi
|
Name: uwsgi
|
||||||
Version: 2.0.28
|
Version: 2.0.25.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A full stack for building hosting services
|
Summary: A full stack for building hosting services
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
@ -29,7 +29,7 @@ BuildRequires: libdb53-devel
|
|||||||
BuildRequires: libgd-devel
|
BuildRequires: libgd-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libjansson-devel
|
BuildRequires: libjansson-devel
|
||||||
BuildRequires: liblua51-devel
|
BuildRequires: liblua-devel
|
||||||
BuildRequires: liblzma-devel
|
BuildRequires: liblzma-devel
|
||||||
BuildRequires: libnsl-devel
|
BuildRequires: libnsl-devel
|
||||||
BuildRequires: libonig-devel
|
BuildRequires: libonig-devel
|
||||||
@ -38,7 +38,9 @@ BuildRequires: libpam-devel
|
|||||||
BuildRequires: libpcre2-devel
|
BuildRequires: libpcre2-devel
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: libpython310-devel
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: libreadline-devel
|
||||||
BuildRequires: libruby-devel
|
BuildRequires: libruby-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libsystemd-devel
|
BuildRequires: libsystemd-devel
|
||||||
@ -48,7 +50,7 @@ BuildRequires: libxml2-devel
|
|||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: mono-devel
|
BuildRequires: mono-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-greenlet-py3
|
BuildRequires: python-greenlet-py310
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A full stack for building hosting services.
|
A full stack for building hosting services.
|
||||||
@ -85,7 +87,6 @@ Summary: Python plugin for %{name}
|
|||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: python-greenlet-py3
|
Requires: python-greenlet-py3
|
||||||
Obsoletes: uwsgi-plugin-python310 <= 2.0.26-1mamba
|
|
||||||
|
|
||||||
%description plugin-python
|
%description plugin-python
|
||||||
This package contains the Python plugin for %{name}.
|
This package contains the Python plugin for %{name}.
|
||||||
@ -98,6 +99,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description plugin-pypy
|
%description plugin-pypy
|
||||||
This package contains the Pypy plugin for %{name}.
|
This package contains the Pypy plugin for %{name}.
|
||||||
|
|
||||||
|
%package plugin-python310
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Python 3.10 plugin for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: python310
|
||||||
|
Requires: python-greenlet-py310
|
||||||
|
|
||||||
|
%description plugin-python310
|
||||||
|
This package contains the Python 3.10 plugin for %{name}.
|
||||||
|
|
||||||
%package plugin-lua
|
%package plugin-lua
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: LUA plugin for %{name}
|
Summary: LUA plugin for %{name}
|
||||||
@ -166,6 +177,8 @@ sed -i "s|ld_run_path = None|ld_run_path = '%{_libdir}/apache'|" plugins/php/uws
|
|||||||
export UWSGICONFIG_PHPLIBDIR=%{_libdir}/apache/libphp7.so
|
export UWSGICONFIG_PHPLIBDIR=%{_libdir}/apache/libphp7.so
|
||||||
%make PYTHON=%{__python3} PROFILE=openmamba
|
%make PYTHON=%{__python3} PROFILE=openmamba
|
||||||
|
|
||||||
|
PYTHON=%{__python310} ./uwsgi --build-plugin "plugins/python python310"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -187,6 +200,11 @@ install -D -m0644 uwsgidecorators.py %{buildroot}%{python3_sitearch}/uwsgidecora
|
|||||||
%{__python3} -m compileall %{buildroot}%{python3_sitearch}
|
%{__python3} -m compileall %{buildroot}%{python3_sitearch}
|
||||||
%{__python3} -O -m compileall %{buildroot}%{python3_sitearch}
|
%{__python3} -O -m compileall %{buildroot}%{python3_sitearch}
|
||||||
|
|
||||||
|
# Python 3.10
|
||||||
|
install -D -m0644 uwsgidecorators.py %{buildroot}%{python310_sitearch}/uwsgidecorators.py
|
||||||
|
%{__python310} -m compileall %{buildroot}%{python310_sitearch}
|
||||||
|
%{__python310} -O -m compileall %{buildroot}%{python310_sitearch}
|
||||||
|
|
||||||
# Pypy
|
# Pypy
|
||||||
install -D -m0644 uwsgidecorators.py %{buildroot}/opt/pypy/site-packages/uwsgidecorators.py
|
install -D -m0644 uwsgidecorators.py %{buildroot}/opt/pypy/site-packages/uwsgidecorators.py
|
||||||
%{__python3} -m compileall %{buildroot}/opt/pypy/site-packages
|
%{__python3} -m compileall %{buildroot}/opt/pypy/site-packages
|
||||||
@ -240,6 +258,15 @@ install -D -m0755 plugins/mono/uwsgi.dll %{buildroot}%{_prefix}/lib/mono/2.0/uws
|
|||||||
/opt/pypy/site-packages/uwsgidecorators.py
|
/opt/pypy/site-packages/uwsgidecorators.py
|
||||||
/opt/pypy/site-packages/__pycache__/uwsgidecorators.cpython*pyc
|
/opt/pypy/site-packages/__pycache__/uwsgidecorators.cpython*pyc
|
||||||
|
|
||||||
|
%files plugin-python310
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/uwsgi/asyncio_plugin.so
|
||||||
|
%{_libdir}/uwsgi/gevent_plugin.so
|
||||||
|
%{_libdir}/uwsgi/greenlet_plugin.so
|
||||||
|
%{_libdir}/uwsgi/python310_plugin.so
|
||||||
|
%{python310_sitearch}/uwsgidecorators.py
|
||||||
|
%{python310_sitearch}/__pycache__/uwsgidecorators.cpython*pyc
|
||||||
|
|
||||||
%files plugin-lua
|
%files plugin-lua
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/uwsgi/lua_plugin.so
|
%{_libdir}/uwsgi/lua_plugin.so
|
||||||
@ -266,18 +293,6 @@ install -D -m0755 plugins/mono/uwsgi.dll %{buildroot}%{_prefix}/lib/mono/2.0/uws
|
|||||||
%{_libdir}/uwsgi/notfound_plugin.so
|
%{_libdir}/uwsgi/notfound_plugin.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Oct 26 2024 Automatic Build System <autodist@openmamba.org> 2.0.28-1mamba
|
|
||||||
- automatic version update by autodist
|
|
||||||
|
|
||||||
* Tue Sep 24 2024 Automatic Build System <autodist@openmamba.org> 2.0.27-1mamba
|
|
||||||
- automatic version update by autodist
|
|
||||||
|
|
||||||
* Sun Sep 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.26-2mamba
|
|
||||||
- remove and obsolete python 3.10 plugin
|
|
||||||
|
|
||||||
* Sun Jun 02 2024 Automatic Build System <autodist@openmamba.org> 2.0.26-1mamba
|
|
||||||
- automatic version update by autodist
|
|
||||||
|
|
||||||
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 2.0.25.1-1mamba
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 2.0.25.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user