diff --git a/mod_wsgi.spec b/mod_wsgi.spec index 301cdfff7ade74ba623194620aa9b980d885e2b6..ef183f2d26e1fa974e121a55dce1dfc814abe959 100644 --- a/mod_wsgi.spec +++ b/mod_wsgi.spec @@ -6,7 +6,7 @@ %global sphinxbin %{_bindir}/sphinx-build-3 Name: mod_wsgi Version: 4.6.4 -Release: 1 +Release: 2 Summary: A WSGI interface for Python web applications in Apache License: ASL 2.0 URL: https://github.com/GrahamDumpleton/mod_wsgi @@ -61,6 +61,11 @@ install -d -m 755 $RPM_BUILD_ROOT%{_httpd_modconfdir} %py3_install mv $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express{,-3} popd +cat <>%{buildroot}%{_httpd_modconfdir}/10-wsgi-python3.conf + + LoadModule wsgi_module modules/mod_wsgi_python3.so + +EOT %files -n python3-%{name} %license LICENSE @@ -69,7 +74,11 @@ popd %{python3_sitearch}/mod_wsgi-*.egg-info %{python3_sitearch}/mod_wsgi %{_bindir}/mod_wsgi-express-3 +%config(noreplace) %{_httpd_modconfdir}/*.conf %changelog +* Wed Oct 13 2021 xu_ping - 4.6.4-2 +- add 10-wsgi-python3.conf to httpd + * Thu Nov 19 2020 huanghaitao - 4.6.4-1 - package init