From 2312cedc7ef0e85fd2c5bdb3a49e0e30037d41db Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Sun, 23 Jul 2023 17:56:03 +0800 Subject: [PATCH] Fix compilation failure caused by python update to 3.11.4 --- mod_wsgi.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mod_wsgi.spec b/mod_wsgi.spec index ec5b27b..ced456e 100644 --- a/mod_wsgi.spec +++ b/mod_wsgi.spec @@ -6,7 +6,7 @@ %global sphinxbin %{_bindir}/sphinx-build-3 Name: mod_wsgi Version: 4.9.4 -Release: 1 +Release: 2 Summary: A WSGI interface for Python web applications in Apache License: Apache-2.0 URL: https://modwsgi.readthedocs.io/ @@ -64,7 +64,7 @@ install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-wsgi-python3 mv $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express{,-3} popd -chrpath -d %{buildroot}%{python3_sitearch}/mod_wsgi/server/mod_wsgi-py310.cpython-310-%{_arch}-linux-gnu.so +chrpath -d %{buildroot}%{python3_sitearch}/mod_wsgi/server/mod_wsgi-py3*.cpython-3*-%{_arch}-linux-gnu.so %files -n python3-%{name} %license LICENSE @@ -76,6 +76,9 @@ chrpath -d %{buildroot}%{python3_sitearch}/mod_wsgi/server/mod_wsgi-py310.cpytho %{_bindir}/mod_wsgi-express-3 %changelog +* Sun Jul 23 2023 yaoxin - 4.9.4-2 +- Fix compilation failure caused by python update to 3.11.4 + * Thu May 11 2023 Ge Wang - 4.9.4-1 - Update to version 4.9.4 -- Gitee