Fix compilation failure caused by python update to 3.11.4

This commit is contained in:
starlet-dx 2023-07-23 17:56:03 +08:00
parent 27129870cc
commit 2312cedc7e

View File

@ -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 <yao_xin001@hoperun.com> - 4.9.4-2
- Fix compilation failure caused by python update to 3.11.4
* Thu May 11 2023 Ge Wang <wang__ge@126.com> - 4.9.4-1
- Update to version 4.9.4