[packages/python] require same openssl version, otherwise httplib fails

glen glen at pld-linux.org
Fri Sep 11 22:37:14 CEST 2015


commit 7ffda120e5083c904922454bf74c2960f2b820b0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Sep 11 23:36:01 2015 +0300

    require same openssl version, otherwise httplib fails
    
    $ python -c "import httplib;print httplib.HTTPSConnection"
    Traceback (most recent call last): File "<string>", line 1, in <module>
    AttributeError: 'module' object has no attribute 'HTTPSConnection'
    
    similar error here:
    https://bugs.launchpad.net/bzr/+bug/411296

 python.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python.spec b/python.spec
index b1cf086..892a995 100644
--- a/python.spec
+++ b/python.spec
@@ -43,7 +43,7 @@ Summary(tr.UTF-8):	X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python
 Version:	%{py_ver}.10
-Release:	1
+Release:	2
 Epoch:		1
 License:	PSF
 Group:		Development/Languages/Python
@@ -249,6 +249,7 @@ Obsoletes:	python-ssl
 Obsoletes:	python-xml
 Obsoletes:	python-xmlrpc <= 1.0.1
 Obsoletes:	python-zlib
+%requires_ge_to	openssl	openssl-devel
 
 %description modules
 Python officially distributed modules.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/7ffda120e5083c904922454bf74c2960f2b820b0



More information about the pld-cvs-commit mailing list