[python-espeak/el6] Adding conditional for not building with Python 3 in EPEL

Eduardo Mayorga Téllez mayorga at fedoraproject.org
Sat Mar 29 17:30:43 UTC 2014


commit 2f963abc98a947fdcbe4697bce8e09f29233e9ba
Author: Eduardo Mayorga <mayorga at fedoraproject.org>
Date:   Sat Mar 29 11:30:08 2014 -0600

    Adding conditional for not building with Python 3 in EPEL

 python-espeak.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/python-espeak.spec b/python-espeak.spec
index e43b320..db501f5 100644
--- a/python-espeak.spec
+++ b/python-espeak.spec
@@ -1,5 +1,7 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
 %{!?__python2: %global __python2 %{__python}}
 %global with_python3 1
+%endif
 
 Name:		python-espeak
 Version:	0.5


More information about the scm-commits mailing list