[python-lxml] - Don't byte-compile files during install because setup.py doesn't properly byte compile for Pytho

Jeffrey C. Ollie jcollie at fedoraproject.org
Tue Aug 24 06:16:04 UTC 2010


commit 721b254fb83728c37a962a828d8959303d7a8c09
Author: Jeffrey C. Ollie <jeff at ocjtech.us>
Date:   Tue Aug 24 01:15:58 2010 -0500

    - Don't byte-compile files during install because setup.py doesn't
      properly byte compile for Python version 3.2

 python-lxml.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python-lxml.spec b/python-lxml.spec
index 57d5bdd..4db98b5 100644
--- a/python-lxml.spec
+++ b/python-lxml.spec
@@ -6,7 +6,7 @@
 
 Name:           python-lxml
 Version:        2.2.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        ElementTree-like Python bindings for libxml2 and libxslt
 
 Group:          Development/Libraries
@@ -115,11 +115,11 @@ popd
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --no-compile --root %{buildroot}
 
 %if 0%{?with_python3}
 pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root %{buildroot}
+%{__python3} setup.py install --skip-build --no-compile --root %{buildroot}
 popd
 %endif
 
@@ -145,6 +145,10 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Tue Aug 24 2010 Jeffrey C. Ollie <jeff at ocjtech.us> - 2.2.7-3
+- Don't byte-compile files during install because setup.py doesn't
+  properly byte compile for Python version 3.2
+
 * Sun Aug 22 2010 Jeffrey C. Ollie <jeff at ocjtech.us> - 2.2.7-2
 - Rebuild for Python 3.2
 


More information about the scm-commits mailing list