summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-05-10 15:36:29 +0000
committerjbj <devnull@localhost>2000-05-10 15:36:29 +0000
commit4a4704f98f9ebf216652caa01994895005bc1994 (patch)
treea595b1811e29600c7593d3b7251d29a14ff27083 /rpmpopt.in
parent46fe7a531a15fd20c3ff1c4b46a8e731246460c0 (diff)
downloadlibrpm-tizen-4a4704f98f9ebf216652caa01994895005bc1994.tar.gz
librpm-tizen-4a4704f98f9ebf216652caa01994895005bc1994.tar.bz2
librpm-tizen-4a4704f98f9ebf216652caa01994895005bc1994.zip
- include RPM-GPG-KEY in file manifest.
- simplify --last popt alias, date like -qi (bjerrick@easystreet.com). - fix: alloca'd memory used outside of scope (alpha segfault). CVS patchset: 3723 CVS date: 2000/05/10 15:36:29
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index 96ba0dcbc..b60beadce 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -63,8 +63,8 @@ rpm alias --triggerscripts --qf '\
%{TRIGGERSCRIPTS}\n]'
rpm alias --triggers --triggerscripts
-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)}' "
+rpm alias --last --qf ''%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
+ --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-35s %-s\n\", $1, substr($0,length($1)+2))}' "
rpm alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]'
rpm exec --freshen freshen.sh