Include %{VCS} in rpm -q --info output
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 6 Feb 2013 15:04:23 +0000 (15:04 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 6 Feb 2013 15:04:23 +0000 (15:04 +0000)
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.

rpmpopt.in

index b3156ad..92656e2 100644 (file)
@@ -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\