From 580356743cd34a9323b2b85665e97fb093e2e944 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Wed, 13 Oct 2021 18:26:44 +0800 Subject: [PATCH] add 10-wsgi-python3.conf to httpd Signed-off-by: cherry530 (cherry picked from commit 83fb2e02c87c1bdab38918e7e8b509f817ef7089) --- mod_wsgi.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mod_wsgi.spec b/mod_wsgi.spec index 301cdff..ef183f2 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 -- Gitee