fi->tagN = tagN;
fi->record = headerGetInstance(h);
+ fi->fiflags = flags;
fi->scareFlags = scareFlags;
fi->keep_header = (flags & RPMFI_KEEPHEADER);
/* Archive size is not set when this gets called from build */
isBuild = (asize == NULL);
isSource = headerIsSource(h);
+ if (isBuild) fi->fiflags |= RPMFI_ISBUILD;
+ if (isSource) fi->fiflags |= RPMFI_ISSOURCE;
/* See if we have pre/posttrans scripts. */
fi->transscripts |= (headerIsEntry(h, RPMTAG_PRETRANS) &&
RPMFI_NOFILEDEPS = (1 << 2),
RPMFI_NOFILELANGS = (1 << 3),
RPMFI_NOFILEOWNER = (1 << 4),
+ RPMFI_ISBUILD = (1 << 30), /* internal */
+ RPMFI_ISSOURCE = (1 << 31), /* internal */
} rpmfiFlags;
/** \ingroup rpmfi
/*=============================*/
rpmte te;
+ rpmfiFlags fiflags; /*!< file info set control flags */
headerGetFlags scareFlags; /*!< headerGet flags wrt scareMem */
/*-----------------------------*/
rpmfileAttrs flags; /*!< File flags (default). */