1. Ralph Bean
  2. tw2.jqplugins.flot


Ralph Bean  committed 0f00301

Sneaking in an epel fix in the spec file.

  • Participants
  • Parent commits 01c40a0
  • Branches default

Comments (0)

Files changed (1)

File python-tw2-jqplugins-flot.spec

View file
  • Ignore whitespace
 %setup -q -n %{modname}-%{version}
+%if %{?rhel}%{!?rhel:0} >= 6
+# Make sure that epel/rhel picks up the correct version of webob
+awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
+mv setup.py.tmp setup.py
+# Remove all the fancy nosetests configuration for older python
+rm setup.cfg
 %{__python} setup.py build
 # This is a hack to get the jqplugins to not stomp all over each others