Ticket #4088 enhancement closed fixed
tap2rpm can't handle .tac files outside the current directory
| Reported by: | TimAllen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | therve | Branch: | branches/tap2rm-path-4088 |
| Author: | therve | Launchpad Bug: |
Description
If I have a .tac file in the current directory, I can package it easily enough:
tap2rpm -t foo.tac
But if the .tac file is in a different directory, things don't work:
# Doesn't work tap2rpm -t resources/foo.tac
The .spec file that tap2rpm produces is hard-coding the filename in an awkward way, causing rpm to choke:
[... other output ...] + cp resources/foo.tac /var/tmp/twisted-foo-1.0-root/etc/twisted-taps/ cp: cannot stat `resources/foo.tac': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.42424 (%install)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

