Ticket #5875 defect new

Opened 9 months ago

Last modified 8 months ago

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

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

Change History

Changed 9 months ago by hestern

Changed 9 months ago by hestern

Fixed tap2rpm patch. Ignore earlier.

Changed 9 months ago by hestern

Third time's the charm.

1

Changed 9 months 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.

2

Changed 8 months ago by jerub

  • keywords review removed

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

3

Changed 8 months ago by thijs

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