8e1366d91b
- 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
14 lines
615 B
Diff
14 lines
615 B
Diff
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)
|