forked from pool/python-M2Crypto
Accepting request 535455 from home:alarrosa:branches:devel:languages:python
- Update to 0.27.0 * Fix licence: it is MIT, not BSD * At least minimal support of SNI in httpslib. * Small bugfixes and cleanups. * More effort to make build system more robust. * Restore m2.rsa_set_e() and m2.rsa_set_n(). * Make sure that every exceptional return throws and exception and viceversa. - Add patch fix-build-python3.diff to let it build with python3 - Add patch fix-openssl-include-path.diff to fix openssl include path (the code already includes the openssl/ part) - Create a new package python-M2Crypto-doc for documentation since rpmlint was complaining around 75% of the package was documentation. OBS-URL: https://build.opensuse.org/request/show/535455 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=45
This commit is contained in:
committed by
Git OBS Bridge
parent
eae7642470
commit
8e1366d91b
13
fix-openssl-include-path.diff
Normal file
13
fix-openssl-include-path.diff
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: M2Crypto-0.27.0/setup.py
|
||||
===================================================================
|
||||
--- M2Crypto-0.27.0.orig/setup.py
|
||||
+++ M2Crypto-0.27.0/setup.py
|
||||
@@ -159,7 +164,7 @@ class _M2CryptoBuildExt(build_ext.build_
|
||||
|
||||
if platform.system() == "Linux":
|
||||
self.include_dirs += _get_additional_includes()
|
||||
- inc_openssl_dir = '/usr/include/openssl'
|
||||
+ inc_openssl_dir = '/usr/include/'
|
||||
if inc_openssl_dir not in self.include_dirs:
|
||||
self.include_dirs.append(inc_openssl_dir)
|
||||
log.debug('self.include_dirs = %s', self.include_dirs)
|
||||
Reference in New Issue
Block a user