[python-cryptography] Only run tests on fedora

Nathaniel McCallum npmccallum at fedoraproject.org
Thu Mar 5 15:04:02 UTC 2015


commit 6c8f1e1f5c1d9108587ea12ff8916ecaf8478851
Author: Nathaniel McCallum <npmccallum at redhat.com>
Date:   Thu Mar 5 10:03:51 2015 -0500

    Only run tests on fedora

 python-cryptography.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-cryptography.spec b/python-cryptography.spec
index e0719d8..bef82af 100644
--- a/python-cryptography.spec
+++ b/python-cryptography.spec
@@ -99,6 +99,7 @@ popd
 
 
 %check
+%if 0%{?fedora} > 20
 %{__python} setup.py test
 
 %if 0%{?with_python3}
@@ -106,6 +107,7 @@ pushd %{py3dir}
 %{__python3} setup.py test
 popd
 %endif
+%endif
 
 
 %files


More information about the scm-commits mailing list