- fixed --querytags to display virtual tags
CVS patchset: 2252
CVS date: 1998/08/16 14:06:19
- do a better job of checking for a spec file in tarballs
(Pavel Roskin)
- fixed --triggers alias (Michael Andres)
+ - added :hex query format
+ - fixed --querytags to display virtual tags
2.5.1 -> 2.5.2:
- added -bs to build just a source package
void queryPrintTags(void) {
const struct headerTagTableEntry * t;
int i;
+ struct headerSprintfExtension * ext = rpmHeaderFormats;
for (i = 0, t = rpmTagTable; i < rpmTagTableSize; i++, t++) {
printf("%s\n", t->name + 7);
}
+
+ while (ext->name) {
+ if (ext->type == HEADER_EXT_TAG)
+ printf("%s\n", ext->name + 7), ext++;
+ else if (ext->type == HEADER_EXT_MORE)
+ ext = ext->u.more;
+ else
+ ext++;
+ }
}