[piglit/el6] Correct BuildRequires python-mako1.0

Matej Cepl mcepl at fedoraproject.org
Thu Feb 5 10:59:51 UTC 2015


commit 3a3cb7c84f197fdcc3ea17676ef7e2177537c39c
Author: Matěj Cepl <mcepl at cepl.eu>
Date:   Thu Feb 5 11:59:37 2015 +0100

    Correct BuildRequires python-mako1.0

 piglit.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/piglit.spec b/piglit.spec
index 2f35cb0..256ed3e 100644
--- a/piglit.spec
+++ b/piglit.spec
@@ -18,7 +18,11 @@ BuildRequires:  python >= 2.6 numpy cmake chrpath
 BuildRequires:  mesa-libGL-devel, mesa-libGLU-devel
 BuildRequires:  waffle-devel
 BuildRequires:  libX11-devel, libpng-devel, libtiff-devel, libXrender-devel
+%if 0%{?rhel} > 0 && 0%{?rhel} <= 6
+BuildRequires:  python-mako1.0 >= 1.0.0
+%else
 BuildRequires:  python-mako >= 0.7.3
+%endif
 BuildRequires:  python-nose, python-lxml
 
 # Only for python < 2.7


More information about the scm-commits mailing list