diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-06-24 13:17:08 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-06-24 14:38:20 +0300 |
commit | 122cf542d17d5041d44b15a7f02240ac7bffcdd1 (patch) | |
tree | 207bef510028c1cca6a42dbf396a0b6dcd9df327 | |
parent | 520e9a17c5b72c78e08ebead278ba114a5340508 (diff) | |
download | librpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.tar.gz librpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.tar.bz2 librpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.zip |
Move collections tag to "known free" number, document reserved tags
- missed during review, oh well..
-rw-r--r-- | lib/rpmtag.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmtag.h b/lib/rpmtag.h index 2a8a9d6fa..3aaebfa40 100644 --- a/lib/rpmtag.h +++ b/lib/rpmtag.h @@ -28,6 +28,7 @@ extern "C" { /** \ingroup rpmtag * Tags identify data in package headers. * @note tags should not have value 0! + * @note all new tags should be added above 5000 */ /** @todo: Somehow supply type **/ typedef enum rpmTag_e { @@ -265,7 +266,7 @@ typedef enum rpmTag_e { RPMTAG_BUILDOBSOLETES = 1194, /* internal (unimplemented) */ RPMTAG_DBINSTANCE = 1195, /* i extension */ RPMTAG_NVRA = 1196, /* s extension */ - RPMTAG_COLLECTIONS = 1197, /* s[] list of collections */ + /* tags 1997-4999 reserved */ RPMTAG_FILENAMES = 5000, /* s[] extension */ RPMTAG_FILEPROVIDE = 5001, /* s[] extension */ RPMTAG_FILEREQUIRE = 5002, /* s[] extension */ @@ -295,6 +296,7 @@ typedef enum rpmTag_e { RPMTAG_VERIFYSCRIPTFLAGS = 5026, /* i */ RPMTAG_TRIGGERSCRIPTFLAGS = 5027, /* i[] */ RPMTAG_FILESTATUS = 5028, /* i[] extension */ + RPMTAG_COLLECTIONS = 5029, /* s[] list of collections */ RPMTAG_FIRSTFREE_TAG /*!< internal */ } rpmTag; |