[python-tornado/el6] fixed check for epel version

Ionuț Arțăriși mapleoin at fedoraproject.org
Wed Nov 9 12:15:44 UTC 2011


commit 5d86c2e2c3019916372c9bd5e86a45ac55ac865b
Author: Ionuț Arțăriși <iartarisi at suse.cz>
Date:   Wed Nov 9 13:15:21 2011 +0100

    fixed check for epel version

 python-tornado.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python-tornado.spec b/python-tornado.spec
index d898303..aa5420a 100644
--- a/python-tornado.spec
+++ b/python-tornado.spec
@@ -58,7 +58,7 @@ python setup.py install --root=%{buildroot}
 rm -rf %{buildroot}
 
 %check
-%if "%{dist}" != "el6"
+%if !0%{?el6}
     python -m unittest discover -s tornado/test -p *test.py
 %endif
 


More information about the scm-commits mailing list