# PackageStruct Struct Reference
[RPMBUILD.]

`#include <rpmspec.h>`

## Data Fields

Header | header
void * | cpioList
Source * | icon
int | autoReq
int | autoProv
const char * | preInFile
const char * | postInFile
const char * | preUnFile
const char * | postUnFile
const char * | verifyFile
StringBuf | specialDoc
TriggerFileEntry * | triggerFiles
const char * | fileFile
StringBuf | fileList
PackageStruct * | next

## Detailed Description

The structure used to store values for a package.

Definition at line 148 of file rpmspec.h.

## Field Documentation

int PackageStruct::autoProv

| Definition at line 158 of file rpmspec.h. Referenced by generateDepends(), handlePreambleTag(), and newPackage().

int PackageStruct::autoReq

| Definition at line 157 of file rpmspec.h. Referenced by generateDepends(), handlePreambleTag(), and newPackage().

void* PackageStruct::cpioList

| Definition at line 153 of file rpmspec.h. Referenced by freePackage(), newPackage(), packageBinaries(), processBinaryFiles(), and processPackageFiles().

const char* PackageStruct::fileFile

| Definition at line 170 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseFiles(), and processPackageFiles().

StringBuf PackageStruct::fileList

| Definition at line 171 of file rpmspec.h. Referenced by freePackage(), newPackage(), packageBinaries(), parseFiles(), processBinaryFiles(), and processPackageFiles().

Header PackageStruct::header

Definition at line 150 of file rpmspec.h.

Referenced by doSetupMacro(), freePackage(), genSourceRpmName(), handlePreambleTag(), initSourceHeader(), lookupPackage(), newPackage(), packageBinaries(), parseChangelog(), parseDescription(), parseForSimple(), parsePreamble(), parseRCPOT(), parseScript(), parseSpec(), printNewSpecfile(), processBinaryFiles(), processPackageFiles(), processScriptFiles(), readRPM(), rewriteRPM(), and rpmQueryVerify().

struct Source* PackageStruct::icon

| Definition at line 155 of file rpmspec.h. Referenced by addSource(), doRmSource(), freePackage(), newPackage(), and processSourceFiles().

struct PackageStruct* PackageStruct::next

| Definition at line 173 of file rpmspec.h. Referenced by doRmSource(), freePackages(), lookupPackage(), newPackage(), packageBinaries(), parseSpec(), printNewSpecfile(), processBinaryFiles(), processSourceFiles(), and rpmQueryVerify().

const char* PackageStruct::postInFile

| post scriptlet. Definition at line 161 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseScript(), and processScriptFiles().

const char* PackageStruct::postUnFile

| postun scriptlet. Definition at line 163 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseScript(), and processScriptFiles().

const char* PackageStruct::preInFile

| pre scriptlet. Definition at line 160 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseScript(), and processScriptFiles().

const char* PackageStruct::preUnFile

| preun scriptlet. Definition at line 162 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseScript(), and processScriptFiles().

StringBuf PackageStruct::specialDoc

| Definition at line 166 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseForSimple(), and processPackageFiles().

struct TriggerFileEntry* PackageStruct::triggerFiles

| Definition at line 168 of file rpmspec.h. Referenced by addTriggerIndex(), freePackage(), newPackage(), and processScriptFiles().

const char* PackageStruct::verifyFile

| verifyscript scriptlet. Definition at line 164 of file rpmspec.h. Referenced by freePackage(), newPackage(), parseScript(), and processScriptFiles().

The documentation for this struct was generated from the following file:

- build/rpmspec.h