[PATCH] Include %{VCS} in src.rpm

Alexander Kanevskiy kad at kad.name
Fri Apr 26 15:16:59 UTC 2013


It is valuable to include VCS information in source rpm packages.
---
 build/parseSpec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build/parseSpec.c b/build/parseSpec.c
index da6797f..9b0c542 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -447,6 +447,7 @@ static const rpmTagVal sourceTags[] = {
     RPMTAG_URL,
     RPMTAG_BUGURL,
     RPMTAG_HEADERI18NTABLE,
+    RPMTAG_VCS,
     0
 };

--
1.7.12.4

--
br, Alexander Kanevskiy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20130426/711f0a93/attachment.html>


More information about the Rpm-list mailing list