1.1 --- a/src/import-rpmdb.c Fri Jun 12 16:59:11 2009 +0100
1.2 +++ b/src/import-rpmdb.c Thu Oct 01 20:02:12 2009 +0100
1.3 @@ -105,6 +105,7 @@
1.4 union rpm_entry name, epoch, version, release, arch;
1.5 union rpm_entry summary, description, url, license;
1.6 union rpm_entry basenames, dirnames, dirindexes;
1.7 + union rpm_entry install_prefixes;
1.8 char filename[PATH_MAX], evr[128], buf[16];
1.9 rpmdb db;
1.10 int imported_count = 0;
1.11 @@ -185,6 +186,12 @@
1.12 add_script(importer, RAZOR_PROPERTY_POSTUN, h,
1.13 RPMTAG_POSTUNPROG, RPMTAG_POSTUN);
1.14
1.15 + headerGetEntry(h, RPMTAG_INSTPREFIXES, &type,
1.16 + &install_prefixes.p, &count);
1.17 + for (i = 0; i < count; i++)
1.18 + razor_importer_add_install_prefix(importer,
1.19 + install_prefixes.list[i]);
1.20 +
1.21 razor_importer_finish_package(importer);
1.22
1.23 printf("\rimporting %d", ++imported_count);