The problem with listing the files in ruby-defaults seems to be related to those files being symlinks. There are no references to those files in the saved file metadata when the package is installed and self.files_in_package is using that data as a shortcut if the package is installed.
% tpkg --ql ruby-defaults-1.8-1.tpkg : /opt/tpkg/bin/ /opt/tpkg/bin/ri /opt/tpkg/bin/irb /opt/tpkg/bin/ruby /opt/tpkg/bin/erb /opt/tpkg/bin/rdoc
% tpkg --ql ruby-defaults ruby-defaults-1.8-1.tpkg: /opt/tpkg/bin
% tar zxvf tpkg.tar.gz tpkg/ tpkg/tpkg.xml tpkg/file_metadata.bin tpkg/reloc/ tpkg/reloc/bin/ tpkg/reloc/bin/ri tpkg/reloc/bin/irb tpkg/reloc/bin/ruby tpkg/reloc/bin/erb tpkg/reloc/bin/rdoc
The problem with listing the files in ruby-defaults seems to be related to those files being symlinks. There are no references to those files in the saved file metadata when the package is installed and self.files_in_package is using that data as a shortcut if the package is installed.
Was: https://sourceforge.net/apps/trac/tpkg/ticket/21