Ticket #1696 defect new
RPMs fail to build on RHEL 4
|Reported by:||shieldszero||Owned by:||TimAllen|
|Cc:||shieldszero, TimAllen, exarkun, thijs, dripton, glyph, radix||Branch:||
(diff, github, buildbot, log)
On Red Hat EL4, Twisted 2.2.0 fails to build into RPMs with "python setup.py all bdist_rpm". Here are workarounds for two problems:
1. The detectExtensions hack in Twisted-2.2.0/twisted/python/dist.py setup() causes the build to fail. The build proceeds if this is commented out.
2. Except for the core and Conch, the components all have names in setup.py of the form "Twisted Something". This causes the RPM spec file to be invalid, as RPM package names cannot have spaces. A fix is to change the names to "TwistedSomething".