[python-nevow] * Sun Aug 1 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.10.0-3 - Workaround broken se

Orcan Ogetbil oget at fedoraproject.org
Sun Aug 1 04:19:16 UTC 2010


commit 0796041a6c5fbbcd57ffbccda6ac816d2da18c26
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Sun Aug 1 00:19:12 2010 -0400

    * Sun Aug  1 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.10.0-3
    - Workaround broken setuptools setup

 python-nevow.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-nevow.spec b/python-nevow.spec
index 85b8136..66d00c5 100644
--- a/python-nevow.spec
+++ b/python-nevow.spec
@@ -3,7 +3,7 @@
 Summary: Web application construction kit written in Python
 Name: python-nevow
 Version: 0.10.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT
 Group: Development/Languages
 URL: http://divmod.org/trac/wiki/DivmodNevow
@@ -33,6 +33,10 @@ find examples \( -name '*.html' -o -name '*.xml' -o -name '*.css' \) \
 # Remove +x from executable doc files
 %{__chmod} -x examples/i18n/update-l10n examples/wsgi/test-cgi.py
 
+# build script is broken when setuptools is installed. This problem surfaced
+# only recently because setuptools is now being dragged in by the other
+# dependencies. This needs a proper fix. Workaround for now:
+sed -i 's|import setuptools|import setuptoolsBAD|' setup.py
 
 %build
 %{__python} setup.py build
@@ -65,6 +69,9 @@ find examples \( -name '*.html' -o -name '*.xml' -o -name '*.css' \) \
 
 
 %changelog
+* Sun Aug  1 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.10.0-3
+- Workaround broken setuptools setup
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.10.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list