summaryrefslogtreecommitdiff
path: root/rpmpopt
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-06-04 17:03:29 +0000
committermarc <devnull@localhost>1998-06-04 17:03:29 +0000
commit14996941672975dbbb02e8a40cc5efb7241395a9 (patch)
tree9942583bfd9d314b19443e93958ff2d7e2fec3c8 /rpmpopt
parentec3256b8b9bccbb428f437772a4aea211699a2bd (diff)
downloadlibrpm-tizen-14996941672975dbbb02e8a40cc5efb7241395a9.tar.gz
librpm-tizen-14996941672975dbbb02e8a40cc5efb7241395a9.tar.bz2
librpm-tizen-14996941672975dbbb02e8a40cc5efb7241395a9.zip
- added --last alias
- fix :depflags query format CVS patchset: 2144 CVS date: 1998/06/04 17:03:29
Diffstat (limited to 'rpmpopt')
-rw-r--r--rpmpopt3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmpopt b/rpmpopt
index 24495731e..5f861570f 100644
--- a/rpmpopt
+++ b/rpmpopt
@@ -53,3 +53,6 @@ rpm alias --changelog --qf '[* %{CHANGELOGTIME:day} %{CHANGELOGNAME}\n\n%{CHANGE
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,^..........,,'"