From 22053e0daecdb180f45a7c74cba04ab16825f262 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 23 Feb 2010 11:02:46 -0500 Subject: [PATCH] Add 'VCS' key Spec files have a lot of metadata about a project. However one of the most key components is the upstream version control system which was notably lacking. Resolve this by adding a "VCS" key. There is no specification for contents of this key, given that the set of version control systems (and features thereof) are not well-defined. However, recommendations are: * git: This URL should be in a form that can be passed to "git clone", with the additional feature that an optional fragment identifier "#foo" denotes a branch or tag. --- lib/rpmtag.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rpmtag.h b/lib/rpmtag.h index fd0a748..414dfa5 100644 --- a/lib/rpmtag.h +++ b/lib/rpmtag.h @@ -302,6 +302,7 @@ typedef enum rpmTag_e { RPMTAG_POLICYTYPES = 5031, /* s[] */ RPMTAG_POLICYTYPESINDEXES = 5032, /* i[] */ RPMTAG_POLICYFLAGS = 5033, /* i[] */ + RPMTAG_VCS = 5034, /* s */ RPMTAG_FIRSTFREE_TAG /*!< internal */ } rpmTag; -- 2.7.4