tap2rpm assumes $PREFIX is /usr
|Reported by:||hestern||Owned by:||hestern|
The RPMs and init scripts created by tap2rpm use a hard-coded path to twistd. This does not work if you have installed python and Twisted under a different prefix.
Attached is a patch that makes an intelligent guess at the path to twistd and includes it in the .spec and init script.