From: msf Date: Fri, 12 Jun 1998 19:50:44 +0000 (+0000) Subject: Enhanced the '--last' option to include release and version numbers X-Git-Tag: tznext/4.11.0.1.tizen20130304~9835 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d32b57aafa60dccb0af4996e3eed1d127e57be06;p=tools%2Flibrpm-tizen.git Enhanced the '--last' option to include release and version numbers CVS patchset: 2148 CVS date: 1998/06/12 19:50:44 --- diff --git a/rpmpopt b/rpmpopt index 5f86157..c8bad93 100644 --- a/rpmpopt +++ b/rpmpopt @@ -54,5 +54,5 @@ 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,^..........,,'" +rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%-27{INSTALLTIME:date}}:{(not installed)}|\n' \ + --pipe "sort -r -n | sed 's,^..........,,' | awk '{printf(\"%-35s %-3s %-3s %2s %-8s %-4s\n\", $1, $2, $3, $4, $5, $6)}' "