[packages/apache-mod_wsgi] py2/py3 cross conflicts

glen glen at pld-linux.org
Sat Oct 1 21:30:11 CEST 2016


commit 7f9b7729c8f967e20c4abf375fe3d052bd30510c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Oct 1 22:29:21 2016 +0300

    py2/py3 cross conflicts
    
    even they possibly do not have conflicting symbols, they share internal
    apache module name
    
    [so:warn] [pid 1767] AH01574: module wsgi_module is already loaded, skipping

 apache-mod_wsgi.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/apache-mod_wsgi.spec b/apache-mod_wsgi.spec
index 8118551..d856ebe 100644
--- a/apache-mod_wsgi.spec
+++ b/apache-mod_wsgi.spec
@@ -59,7 +59,8 @@ Group:		Networking/Daemons
 Requires:	apache(modules-api) = %{apache_modules_api}
 Requires:	apr >= 1:1.0.0
 Requires:	python-modules
-Obsoletes:	%{name} < 4.5.7-0.2
+Obsoletes:	apache-mod_wsgi < 4.5.7-0.2
+Conflicts:	%{name}-py3
 # http://helpful.knobs-dials.com/index.php/Mod_wsgi_notes#PyEval_AcquireThread:_non-NULL_old_thread_state
 Conflicts:	apache-mod_python
 
@@ -86,6 +87,7 @@ Requires:	apache(modules-api) = %{apache_modules_api}
 Requires:	apr >= 1:1.0.0
 Requires:	python3-modules
 Conflicts:	%{name} < 4.5.7-0.2
+Conflicts:	%{name}-py2
 # http://helpful.knobs-dials.com/index.php/Mod_wsgi_notes#PyEval_AcquireThread:_non-NULL_old_thread_state
 Conflicts:	apache-mod_python3
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_wsgi.git/commitdiff/7f9b7729c8f967e20c4abf375fe3d052bd30510c



More information about the pld-cvs-commit mailing list