tap2rpm can't handle .tac files outside the current directory
[email protected] Thu, 12 Nov 2009 06:12:25 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from TimAllen <[email protected]>: 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) }}} ---------- Type : enhancement Component: core Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4088