1.1 --- a/rpm.c Sun Jun 08 17:11:41 2008 -0400
1.2 +++ b/rpm.c Sun Jun 15 10:50:32 2008 -0400
1.3 @@ -673,7 +673,8 @@
1.4 rpmdbMatchIterator iter;
1.5 Header h;
1.6 int_32 type, count, i;
1.7 - union rpm_entry name, epoch, version, release, arch, summary, description;
1.8 + union rpm_entry name, epoch, version, release, arch;
1.9 + union rpm_entry summary, description, url, license;
1.10 union rpm_entry basenames, dirnames, dirindexes;
1.11 char filename[PATH_MAX], evr[128], buf[16];
1.12 rpmdb db;
1.13 @@ -696,6 +697,8 @@
1.14 headerGetEntry(h, RPMTAG_ARCH, &type, &arch.p, &count);
1.15 headerGetEntry(h, RPMTAG_SUMMARY, &type, &summary.p, &count);
1.16 headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &description.p, &count);
1.17 + headerGetEntry(h, RPMTAG_URL, &type, &url.p, &count);
1.18 + headerGetEntry(h, RPMTAG_LICENSE, &type, &license.p, &count);
1.19
1.20 if (epoch.flags != NULL) {
1.21 snprintf(buf, sizeof buf, "%u", *epoch.flags);
1.22 @@ -708,7 +711,9 @@
1.23
1.24 razor_importer_begin_package(importer,
1.25 name.string, evr, arch.string);
1.26 - razor_importer_add_details(importer, summary.string, description.string);
1.27 + razor_importer_add_details(importer, summary.string,
1.28 + description.string, url.string,
1.29 + license.string);
1.30
1.31 add_properties(importer, RAZOR_PROPERTY_REQUIRES, h,
1.32 RPMTAG_REQUIRENAME,