projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffad8f5
)
Include %{VCS} in rpm -q --info output
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 6 Feb 2013 15:04:23 +0000
(15:04 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/rpmpopt.in
b/rpmpopt.in
index
b3156ad
..
92656e2
100644
(file)
--- 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\