Directory dependencies in rpm > 4.4.5

Newer versions of rpm have a nice feature which helps to avoid 'unowned' directories on your filesystem. This is nice to have but it can create some problems when you upgrade rpm :-) I always used --noparentdirs but apparently this can also be solved by generating a list with --orphandirs in /etc/rpmsysinfo/Dirnames.