]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3.spec
Merge branch 'master' into AC-branch
[packages/python3.git] / python3.spec
index 745168dd0f232ebbe17abd170fd727d9c9df4ecd..348897ef42f64fe6b23fa9bc98026e13c537c7ea 100644 (file)
@@ -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
This page took 0.035106 seconds and 4 git commands to generate.