Skip to content

Instantly share code, notes, and snippets.

@ralphbean
Created April 12, 2012 20:17
Show Gist options
  • Select an option

  • Save ralphbean/2370707 to your computer and use it in GitHub Desktop.

Select an option

Save ralphbean/2370707 to your computer and use it in GitHub Desktop.
diff --git a/python-tw2-jqplugins-ui.spec b/python-tw2-jqplugins-ui.spec
index bceebee..b39915e 100644
--- a/python-tw2-jqplugins-ui.spec
+++ b/python-tw2-jqplugins-ui.spec
@@ -76,6 +76,10 @@ rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build \
--install-data=%{_datadir} --root %{buildroot}
+# This is a hack to get the jqplugins to not stomp all over each others
+# namespace declarations.
+rm -f %{buildroot}/tw2/jqplugins/__init__.py*
+
%check
PYTHONPATH=$(pwd) python setup.py test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment