RPM has a feature called "ghost" files, where you can mark files as belonging to a package even though they weren't actually included in the package. This is useful for things like log files, or stuff that tl-setup creates. We should go through our RPMs and make sure we have ghost entries for everything we create. deb doesn't have this feature, so conversion will just drop the entries.
Added entries for all things with a well known path. We can't really do much about the things where we won't know the location until tl-setup can analyse the system. All .py files are assumed to create a .pyc file at some point. Did not put entries for log files or data files. The reasoning being that you probably want to keep these files, even if you remove the rpm. Tester should check that we didn't forget about something, as well as test that the RPM behaves sanely (rpm -qf, nothing odd from -V).
On SLED11: # ./rpmunknowns /etc/ /usr/ /opt/ /bin /lib /lib64 /var | grep thinlinc ./rpmunknowns:26: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /etc/cups/thinlinc-ps2pdf.convs /usr/share/icons/hicolor/24x24/apps/thinlinc-webadm.png /usr/share/icons/hicolor/24x24/apps/thinlinc-setup.png /usr/share/icons/hicolor/48x48/apps/thinlinc-webadm.png /usr/share/icons/hicolor/48x48/apps/thinlinc-setup.png /usr/share/icons/hicolor/scalable/apps/thinlinc-setup.svg /usr/share/icons/hicolor/scalable/apps/thinlinc-webadm.svg /usr/share/icons/hicolor/16x16/apps/thinlinc-webadm.png /usr/share/icons/hicolor/16x16/apps/thinlinc-setup.png /usr/share/applications/thinlinc-setup.desktop /usr/share/applications/thinlinc-webadm.desktop /usr/lib64/cups/filter/thinlinc-ps2pdf /var/opt/thinlinc/statistics/users-licenses.rrd /var/log/thinlinc-user-licenses /var/log/thinlinc-install.log As far as I can tell, no files in the output above are suitable for %ghost marking. rpm -V behaves ok.