diff options
author | Vladimir D. Seleznev <vseleznv@altlinux.org> | 2018-09-29 11:25:47 +0300 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2018-11-05 12:05:48 +0100 |
commit | a427785734a4508884873627d57dbde50bbabd48 (patch) | |
tree | 3e1473b450b62152524d7a398f51b7ed83c10f62 /rpmpopt.in | |
parent | b4178c979fff344a1c5142a305f274dd9aff8f45 (diff) | |
download | rpm-a427785734a4508884873627d57dbde50bbabd48.tar.gz |
rpmpopt: make query info command display DistTag if it is non-null
In ALT there can be different builds of the same NEVR which only
differ in DistTag, so it is useful to print its value as part of
package information.
Signed-off-by: Vladimir D. Seleznev <vseleznv@altlinux.org>
Diffstat (limited to 'rpmpopt.in')
-rw-r--r-- | rpmpopt.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmpopt.in b/rpmpopt.in index 557050a24..6a2077ded 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -107,6 +107,7 @@ Name : %{NAME}\n\ %|EPOCH?{Epoch : %{EPOCH}\n}|\ Version : %{VERSION}\n\ Release : %{RELEASE}\n\ +%|DISTTAG?{DistTag : %{DISTTAG}\n}|\ Architecture: %{ARCH}\n\ Install Date: %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n\ Group : %{GROUP}\n\ |