summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-02-06 15:04:23 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-02-06 15:04:23 +0000
commita3bd04c62ee00c9c691fbde049e47f881a1db134 (patch)
tree5603d11ac75d3618dc7f628ab048e4fc5cf169c0
parentffad8f5242f7a3d4cd1092a45f918ff432d166fe (diff)
downloadrpm-a3bd04c62ee00c9c691fbde049e47f881a1db134.tar.gz
rpm-a3bd04c62ee00c9c691fbde049e47f881a1db134.tar.bz2
rpm-a3bd04c62ee00c9c691fbde049e47f881a1db134.zip
Include %{VCS} in rpm -q --info output
When packages are built from a VCS with an automatically-assigned release number, checking the commit ID of an installed package is relatively common and important.
-rw-r--r--rpmpopt.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index b3156ad04..92656e270 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -101,6 +101,7 @@ Relocations : %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\
%|PACKAGER?{Packager : %{PACKAGER}\n}|\
%|VENDOR?{Vendor : %{VENDOR}\n}|\
%|URL?{URL : %{URL}\n}|\
+%|VCS?{VCS : %{VCS}\n}|\
%|BUGURL?{Bug URL : %{BUGURL}\n}|\
Summary : %{SUMMARY}\n\
Description :\n%{DESCRIPTION}\n\