# PackageStruct Struct Reference
[RPMBUILD.]

The structure used to store values for a package. More...

`#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(), and handlePreambleTag().

int PackageStruct::autoReq

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

void* PackageStruct::cpioList

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

const char* PackageStruct::fileFile

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

StringBuf PackageStruct::fileList

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

Header PackageStruct::header

Definition at line 150 of file rpmspec.h.

Referenced by doSetupMacro(), freePackage(), genSourceRpmName(), handlePreambleTag(), initSourceHeader(), lookupPackage(), packageBinaries(), parseChangelog(), parseDescription(), parsePreamble(), parseRCPOT(), parseScript(), 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(), and processSourceFiles().

struct PackageStruct* PackageStruct::next

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

const char* PackageStruct::postInFile

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

const char* PackageStruct::postUnFile

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

const char* PackageStruct::preInFile

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

const char* PackageStruct::preUnFile

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

StringBuf PackageStruct::specialDoc

| Definition at line 166 of file rpmspec.h. Referenced by freePackage().

struct TriggerFileEntry* PackageStruct::triggerFiles

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

const char* PackageStruct::verifyFile

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

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

- build/rpmspec.h