[python-dogpile-cache] Disable tests on el6.

Ralph Bean ralph at fedoraproject.org
Tue Dec 18 18:54:16 UTC 2012


commit c2d9ea9579d81bf46a13b11356d4d74f94a87b6f
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Dec 18 13:53:25 2012 -0500

    Disable tests on el6.

 python-dogpile-cache.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-dogpile-cache.spec b/python-dogpile-cache.spec
index 205f30a..f68968c 100644
--- a/python-dogpile-cache.spec
+++ b/python-dogpile-cache.spec
@@ -1,3 +1,4 @@
+
 %if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %global with_python3 1
 %endif
@@ -6,7 +7,7 @@
 
 Name:               python-dogpile-cache
 Version:            0.4.0
-Release:            1%{?dist}
+Release:            2%{?dist}
 Summary:            A caching front-end based on the Dogpile lock.
 
 Group:              Development/Libraries
@@ -92,12 +93,15 @@ popd
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 
 %check
+# Disable tests on epel6
+%if 0%{?fedora}
 %{__python} setup.py test
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py test
 popd
 %endif
+%endif
 
 %files
 %doc README.rst LICENSE CHANGES
@@ -112,5 +116,8 @@ popd
 %endif
 
 %changelog
+* Fri Dec 14 2012 Ralph Bean <rbean at redhat.com> - 0.4.0-2
+- Disable tests on epel6.
+
 * Tue Dec 11 2012 Ralph Bean <rbean at redhat.com> - 0.4.0-1
 - Initial packaging for Fedora


More information about the scm-commits mailing list