]> git.pld-linux.org Git - packages/python3.git/commitdiff
package _sha256, _sha512 modules for openssl < 0.9.8
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Jul 2012 10:41:07 +0000 (13:41 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Jul 2012 10:41:07 +0000 (13:41 +0300)
python3.spec

index 117530d466626fcba4753398d7f3a43f8baf544f..4683317591e90cd4e9798f166e105d126b8c607e 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.126476 seconds and 4 git commands to generate.