Opened 2 years ago

Last modified 22 months ago

#5875 defect new

tap2rpm assumes $PREFIX is /usr

Reported by: hestern Owned by: hestern
Priority: normal Milestone:
Component: core Keywords:
Cc: thijs Branch:
Author: Launchpad Bug:

Description

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.

Attachments (3)

tap2rpm-hestern.patch (1.5 KB) - added by hestern 2 years ago.
tap2rpm-hestern.2.patch (1.1 KB) - added by hestern 2 years ago.
Fixed tap2rpm patch. Ignore earlier.
tap2rpm-hestern.3.patch (2.0 KB) - added by hestern 2 years ago.
Third time's the charm.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by hestern

Changed 2 years ago by hestern

Fixed tap2rpm patch. Ignore earlier.

Changed 2 years ago by hestern

Third time's the charm.

comment:1 Changed 2 years ago by exarkun

  • Keywords review added

Thanks. Please make sure to add the "review" keyword, otherwise the patch will vanish into the mountain of thousands of other open tickets in the issue tracker.

comment:2 Changed 23 months ago by jerub

  • Keywords review removed

Before this patch can be accepted there will need to be tests written.

comment:3 Changed 22 months ago by thijs

  • Cc thijs added
  • Owner set to hestern
Note: See TracTickets for help on using tickets.