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

vseleznv at altlinux.org vseleznv at altlinux.org
Mon Mar 12 21:04:45 UTC 2018


From: "Vladimir D. Seleznev" <vseleznv at altlinux.org>

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 <vseleznv at altlinux.org>
---
 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



More information about the Rpm-maint mailing list