From 1610f79cefd4e34d89e1d1d857359231b2e28b54 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 24 Mar 2010 21:12:27 +0100 Subject: Add Epoch, Architecture and BugURL to rpm -qi and fix alignment (RhBug:575499) --- rpmpopt.in | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'rpmpopt.in') diff --git a/rpmpopt.in b/rpmpopt.in index 1d8816adb..40ee12a2e 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -65,15 +65,25 @@ rpm alias --requires --qf \ --POPTdesc=$"list capabilities required by package(s)" rpm alias -R --requires -rpm alias --info --qf 'Name : %-27{NAME} Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\ -Version : %-27{VERSION} Vendor: %{VENDOR}\n\ -Release : %-27{RELEASE} Build Date: %{BUILDTIME:date}\n\ -Install Date: %|INSTALLTIME?{%-27{INSTALLTIME:date}}:{(not installed) }| Build Host: %{BUILDHOST}\n\ -Group : %-27{GROUP} Source RPM: %{SOURCERPM}\n\ -Size : %-27{LONGSIZE}%|LICENSE?{ License: %{LICENSE}}|\n\ +rpm alias --info --qf '\ +Name : %{NAME}\n\ +%|EPOCH?{Epoch : %{EPOCH}\n}|\ +Version : %{VERSION}\n\ +Release : %{RELEASE}\n\ +Architecture: %{ARCH}\n\ +Install Date: %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n\ +Group : %{GROUP}\n\ +Size : %{LONGSIZE}\n\ +%|LICENSE?{License : %{LICENSE}}|\n\ Signature : %|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{%|SIGGPG?{%{SIGGPG:pgpsig}}:{%|SIGPGP?{%{SIGPGP:pgpsig}}:{(none)}|}|}|}|\n\ +Source RPM : %{SOURCERPM}\n\ +Build Date : %{BUILDTIME:date}\n\ +Build Host : %{BUILDHOST}\n\ +Relocations : %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\ %|PACKAGER?{Packager : %{PACKAGER}\n}|\ +%|VENDOR?{Vendor : %{VENDOR}\n}|\ %|URL?{URL : %{URL}\n}|\ +%|BUGURL?{Bug URL : %{BUGURL}\n}|\ Summary : %{SUMMARY}\n\ Description :\n%{DESCRIPTION}\n' \ --POPTdesc=$"list descriptive information from package(s)" -- cgit v1.2.3