summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2010-03-24 21:12:27 +0100
committerJindrich Novy <jnovy@redhat.com>2010-03-24 21:12:27 +0100
commit1610f79cefd4e34d89e1d1d857359231b2e28b54 (patch)
tree489a228a68d73914aa41a6b17b37c768a3117a6c /rpmpopt.in
parent7ced1208fb1a5458e227232d9918be6160b5bb03 (diff)
downloadlibrpm-tizen-1610f79cefd4e34d89e1d1d857359231b2e28b54.tar.gz
librpm-tizen-1610f79cefd4e34d89e1d1d857359231b2e28b54.tar.bz2
librpm-tizen-1610f79cefd4e34d89e1d1d857359231b2e28b54.zip
Add Epoch, Architecture and BugURL to rpm -qi and fix alignment (RhBug:575499)
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in22
1 files changed, 16 insertions, 6 deletions
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)"