[Rpm-maint] [PATCH 2/2] Add RPMTAG_IDENTITY

2018-03-12 Thread vseleznv
From: "Vladimir D. Seleznev" 

This tag represents binary package build characteristic: if two binary
packages have equal RPMTAG_IDENTITY values, it means that these packages
have no significant differences.

One of the applications of RPMTAG_IDENTITY is reproducible build
verification.

This tag is reserved for ALT Linux Team and marked as unimplemented.

Signed-off-by: Vladimir D. Seleznev 
---
 lib/rpmtag.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/rpmtag.h b/lib/rpmtag.h
index 395ea8e..973a6b6 100644
--- a/lib/rpmtag.h
+++ b/lib/rpmtag.h
@@ -371,6 +371,7 @@ typedef enum rpmTag_e {
 RPMTAG_PAYLOADDIGEST   = 5092, /* s[] */
 RPMTAG_PAYLOADDIGESTALGO   = 5093, /* i */
 RPMTAG_AUTOINSTALLED   = 5094, /* i reservation (unimplemented) */
+RPMTAG_IDENTITY= 5095, /* s reservation (unimplemented) */
 
 RPMTAG_FIRSTFREE_TAG   /*!< internal */
 } rpmTag;
-- 
2.10.4

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [PATCH 1/2] Add RPMTAG_AUTOINSTALLED

2018-03-12 Thread vseleznv
From: "Vladimir D. Seleznev" 

This tag is needed to track automatically installed packages with rpmdb.
Zero value means that a package was installed manually, other values
mean that the package was installed automatically as some else package
dependency.

This tag is reserved for ALT Linux Team and marked as unimplemented.

Signed-off-by: Vladimir D. Seleznev 
---
 lib/rpmtag.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/rpmtag.h b/lib/rpmtag.h
index 46297af..395ea8e 100644
--- a/lib/rpmtag.h
+++ b/lib/rpmtag.h
@@ -370,6 +370,7 @@ typedef enum rpmTag_e {
 RPMTAG_FILESIGNATURELENGTH  = 5091, /* i */
 RPMTAG_PAYLOADDIGEST   = 5092, /* s[] */
 RPMTAG_PAYLOADDIGESTALGO   = 5093, /* i */
+RPMTAG_AUTOINSTALLED   = 5094, /* i reservation (unimplemented) */
 
 RPMTAG_FIRSTFREE_TAG   /*!< internal */
 } rpmTag;
-- 
2.10.4

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint