[python-confparser/el5] Added validation

Douglas Schilling Landgraf dougsland at fedoraproject.org
Fri Jul 29 20:16:59 UTC 2011


commit 8e815ef40c6af287ff0d550ea5bc4cde430bba26
Author: Douglas Schilling Landgraf <dougsland at redhat.com>
Date:   Fri Jul 29 17:40:23 2011 -0300

    Added validation

 python-confparser.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/python-confparser.spec b/python-confparser.spec
index 475d934..f2f3acd 100644
--- a/python-confparser.spec
+++ b/python-confparser.spec
@@ -1,4 +1,6 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name:           python-confparser
 Version:        1.0.0


More information about the scm-commits mailing list