- fix :depflags query format
CVS patchset: 2144
CVS date: 1998/06/04 17:03:29
- fixed ugly i18n header bug
- deal with lang paths sanely when entries are missing languages
- fix bug packing /usr/doc when last file was %dir
+ - added --last alias
+ - fix :depflags query format
2.5 -> 2.5.1:
- fail if sources are not regular files
char * formatPrefix, int padding, int element) {
char * val;
char buf[10];
- int anint = *(((int_32 *) data) + element);
+ int anint = *((int_32 *) data);
if (type != RPM_INT32_TYPE) {
val = malloc(20);
strcpy(val, _("(not a number)"));
} else {
- *buf = '\0';
+ buf[0] = '\0';
if (anint & RPMSENSE_LESS)
strcat(buf, "<");
rpm alias --triggerscripts --qf '\
[trigger%{TRIGGERTYPE} script (through %{TRIGGERSCRIPTPROG}) -- %{TRIGGERCONDS}\n\
%{TRIGGERSCRIPTS}\n]'
+
+rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %-27{NAME} %|INSTALLTIME?{%-27{INSTALLTIME:date}}:{(not installed)}|\n' \
+ --pipe "sort -r -n | sed 's,^..........,,'"