commit b6994eba7e11db0c79a5f56f80563641ee6693a8
Author: Elan Ruusamäe <[email protected]>
Date: Thu Jul 26 13:41:07 2012 +0300
package _sha256, _sha512 modules for openssl < 0.9.8
python3.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/python3.spec b/python3.spec
index 117530d..4683317 100644
--- a/python3.spec
+++ b/python3.spec
@@ -964,6 +964,13 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{py_dyndir}/_socket.cpython-*.so
%attr(755,root,root) %{py_dyndir}/_ssl.cpython-*.so
%attr(755,root,root) %{py_dyndir}/_testcapi.cpython-*.so
+
+# for openssl < 0.9.8 package sha256 and sha512 modules
+%if 0%(pkg-config openssl --atleast-version=0.9.8; echo $?)
+%attr(755,root,root) %{py_dyndir}/_sha256.cpython-*.so
+%attr(755,root,root) %{py_dyndir}/_sha512.cpython-*.so
+%endif
+
%attr(755,root,root) %{py_dyndir}/array.cpython-*.so
%attr(755,root,root) %{py_dyndir}/atexit.cpython-*.so
%attr(755,root,root) %{py_dyndir}/audioop.cpython-*.so
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit