diff -r 5803b6151d02 -r 6d9713bfc346 rpm.c --- a/rpm.c Sun Jun 08 17:11:41 2008 -0400 +++ b/rpm.c Sun Jun 15 10:50:16 2008 -0400 @@ -673,7 +673,8 @@ rpmdbMatchIterator iter; Header h; int_32 type, count, i; - union rpm_entry name, epoch, version, release, arch, summary, description; + union rpm_entry name, epoch, version, release, arch; + union rpm_entry summary, description, url, license; union rpm_entry basenames, dirnames, dirindexes; char filename[PATH_MAX], evr[128], buf[16]; rpmdb db; @@ -696,6 +697,8 @@ headerGetEntry(h, RPMTAG_ARCH, &type, &arch.p, &count); headerGetEntry(h, RPMTAG_SUMMARY, &type, &summary.p, &count); headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &description.p, &count); + headerGetEntry(h, RPMTAG_URL, &type, &url.p, &count); + headerGetEntry(h, RPMTAG_LICENSE, &type, &license.p, &count); if (epoch.flags != NULL) { snprintf(buf, sizeof buf, "%u", *epoch.flags); @@ -708,7 +711,9 @@ razor_importer_begin_package(importer, name.string, evr, arch.string); - razor_importer_add_details(importer, summary.string, description.string); + razor_importer_add_details(importer, summary.string, + description.string, url.string, + license.string); add_properties(importer, RAZOR_PROPERTY_REQUIRES, h, RPMTAG_REQUIRENAME,