[Rpm-maint] [Suse patch] Tags backport

Mark Hatle mark.hatle at windriver.com
Mon Jun 4 14:31:36 UTC 2007


Just my two cents, it's worthwhile for everyone to remain compatible w/
the tag numbers.

And yes, it does work both ways.. but it has to be something done NOW,
not in two weeks.

If the folks working on this fork of RPM, agree with this, I'll throw
whatever weight I have in on the other side to attempt to keep the
header id's in sync.

--Mark

Panu Matilainen wrote:
> 
> I guess the big question here is if we want to try to stay compatible
> with jbj rpm tags. Or more to the point, avoid overlapping, which does
> make sense. But that only works if it happens both ways...
> 
>     - Panu -
> 
> -----
> 
> Backported some new tags and sense values.
> 
> Index: lib/rpmlib.h
> ===================================================================
> --- lib/rpmlib.h.orig
> +++ lib/rpmlib.h
> @@ -447,6 +447,19 @@ typedef enum rpmTag_e {
>      RPMTAG_PRIORITY        = 1162, /* i   extension placeholder */
>      RPMTAG_CVSID        = 1163, /* s */
>  #define    RPMTAG_SVNID    RPMTAG_CVSID    /* s */
> +    RPMTAG_BLINKPKGID        = 1164, /* s[] */
> +    RPMTAG_BLINKHDRID        = 1165, /* s[] */
> +    RPMTAG_BLINKNEVRA        = 1166, /* s[] */
> +    RPMTAG_FLINKPKGID        = 1167, /* s[] */
> +    RPMTAG_FLINKHDRID        = 1168, /* s[] */
> +    RPMTAG_FLINKNEVRA        = 1169, /* s[] */
> +    RPMTAG_PACKAGEORIGIN    = 1170, /* s */
> +    RPMTAG_TRIGGERPREIN        = 1171, /*!< internal */
> +    RPMTAG_BUILDSUGGESTS    = 1172, /*!< internal */
> +    RPMTAG_BUILDENHANCES    = 1173, /*!< internal */
> +    RPMTAG_SCRIPTSTATES        = 1174, /*!< i scriptlet exit codes */
> +    RPMTAG_SCRIPTMETRICS    = 1175, /*!< i scriptlet execution times */
> +    RPMTAG_BUILDCPUCLOCK    = 1176, /*!< i */
> 
>  /*@-enummemuse@*/
>      RPMTAG_FIRSTFREE_TAG    /*!< internal */
> @@ -530,7 +543,9 @@ typedef    enum rpmsenseFlags_e {
>  /*@=enummemuse@*/
>      RPMSENSE_KEYRING    = (1 << 26),
>      RPMSENSE_PATCHES    = (1 << 27),
> -    RPMSENSE_CONFIG    = (1 << 28)
> +    RPMSENSE_CONFIG    = (1 << 28),
> +    RPMSENSE_PROBE    = (1 << 29),
> +    RPMSENSE_PACKAGE    = (1 << 30)
>  } rpmsenseFlags;
> 
>  #define    RPMSENSE_SENSEMASK    15     /* Mask to get senses, ie
> serial, */
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint




More information about the Rpm-maint mailing list