rpm
5.4.10
|
The structure used to store values parsed from a spec file. More...
#include <build/rpmspec.h>
Data Fields | |
struct rpmioItem_s | _item |
const char * | specFile |
const char * | buildSubdir |
const char * | rootURL |
speclines | sl |
spectags | st |
struct OpenFileInfo * | fileStack |
char * | lbuf |
size_t | lbuf_len |
char * | lbufPtr |
char | nextpeekc |
char * | nextline |
char * | line |
int | lineNum |
struct ReadLevelEntry * | readStack |
Spec * | BASpecs |
const char ** | BANames |
int | BACount |
int | recursing |
int | toplevel |
int | force |
int | anyarch |
char * | passPhrase |
int | timeCheck |
const char * | cookie |
struct Source * | sources |
int | numSources |
int | noSource |
const char * | sourceRpmName |
unsigned char * | sourcePkgId |
Header | sourceHeader |
rpmfi | fi |
int | sourceHdrInit |
MacroContext | macros |
rpmRC(* | _parseRCPOT )(Spec spec, Package pkg, const char *field, rpmTag tagN, rpmuint32_t index, rpmsenseFlags tagflags) |
rpmuint32_t | sstates [RPMSCRIPT_MAX] |
rpmuint32_t | smetrics [RPMSCRIPT_MAX] |
rpmiob | prep |
rpmiob | build |
rpmiob | install |
rpmiob | check |
rpmiob | clean |
size_t | nfoo |
tagStore_t | foo |
void * | dig |
Package | packages |
The structure used to store values parsed from a spec file.
struct rpmioItem_s Spec_s::_item |
usage mutex and pool identifier.
Definition at line 109 of file rpmspec.h.
Referenced by specGetPool().
rpmRC(* Spec_s::_parseRCPOT) (Spec spec, Package pkg, const char *field, rpmTag tagN, rpmuint32_t index, rpmsenseFlags tagflags) |
Definition at line 174 of file rpmspec.h.
Referenced by newSpec(), rpmfcGenerateDependsHelper(), and rpmfcGenerateScriptletDeps().
int Spec_s::anyarch |
Definition at line 148 of file rpmspec.h.
Referenced by newSpec(), parsePreamble(), and parseSpec().
int Spec_s::BACount |
Definition at line 143 of file rpmspec.h.
Referenced by buildSpec(), handlePreambleTag(), initSourceHeader(), newSpec(), parseSpec(), and specFini().
const char** Spec_s::BANames |
Definition at line 142 of file rpmspec.h.
Referenced by handlePreambleTag(), initSourceHeader(), newSpec(), parsePreamble(), parseSpec(), and specFini().
Spec* Spec_s::BASpecs |
Definition at line 140 of file rpmspec.h.
Referenced by buildSpec(), newSpec(), parseSpec(), and specFini().
rpmiob Spec_s::build |
build scriptlet.
Definition at line 183 of file rpmspec.h.
Referenced by initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), spec_get_build(), and specFini().
const char* Spec_s::buildSubdir |
Definition at line 113 of file rpmspec.h.
Referenced by doSetupMacro(), newSpec(), processPackageFiles(), and specFini().
rpmiob Spec_s::check |
check scriptlet.
Definition at line 187 of file rpmspec.h.
Referenced by initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), spec_get_check(), and specFini().
rpmiob Spec_s::clean |
clean scriptlet.
Definition at line 189 of file rpmspec.h.
Referenced by initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), parseChangelog(), parseFiles(), spec_get_clean(), and specFini().
const char* Spec_s::cookie |
Definition at line 154 of file rpmspec.h.
Referenced by newSpec(), packageBinaries(), packageSources(), parseSpec(), and specFini().
void* Spec_s::dig |
Auto-signing keypair.
Definition at line 195 of file rpmspec.h.
Referenced by buildSpec(), newSpec(), packageBinaries(), packageSources(), and specFini().
rpmfi Spec_s::fi |
Definition at line 168 of file rpmspec.h.
Referenced by mapFind(), mapInitIterator(), newSpec(), packageSources(), processSourceFiles(), and specFini().
struct OpenFileInfo* Spec_s::fileStack |
Definition at line 123 of file rpmspec.h.
Referenced by closeSpec(), forceIncludeFile(), newSpec(), parseSpec(), readLine(), and readLineFromOFI().
tagStore_t Spec_s::foo |
Definition at line 193 of file rpmspec.h.
Referenced by initSourceHeader(), isPart(), newSpec(), parseBuildInstallClean(), and specFini().
int Spec_s::force |
Definition at line 147 of file rpmspec.h.
Referenced by doPatch(), doUntar(), newSpec(), parsePrep(), and parseSpec().
rpmiob Spec_s::install |
install scriptlet.
Definition at line 185 of file rpmspec.h.
Referenced by initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), spec_get_install(), and specFini().
char* Spec_s::lbuf |
Definition at line 125 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), newSpec(), and specFini().
size_t Spec_s::lbuf_len |
Definition at line 126 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), and newSpec().
char* Spec_s::lbufPtr |
Definition at line 128 of file rpmspec.h.
Referenced by copyNextLineFromOFI().
char* Spec_s::line |
Definition at line 133 of file rpmspec.h.
Referenced by addSource(), copyNextLineFinish(), doPatchMacro(), findPreambleTag(), handlePreambleTag(), isPart(), newSpec(), parseBuildInstallClean(), parseChangelog(), parseDescription(), parseFiles(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), parseSimplePart(), readLine(), and tagValidate().
int Spec_s::lineNum |
Definition at line 134 of file rpmspec.h.
Referenced by addSource(), copyNextLineFromOFI(), doPatchMacro(), doSetupMacro(), handlePreambleTag(), newSpec(), parseBuildInstallClean(), parseDescription(), parseFiles(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), readLineFromOFI(), stashSt(), and tagValidate().
MacroContext Spec_s::macros |
Definition at line 172 of file rpmspec.h.
Referenced by addFileToTagAux(), addSource(), build(), copyNextLineFromOFI(), doSetupMacro(), handlePreambleTag(), newSpec(), parsePreamble(), parseSpec(), printParsedSpecfile(), processPackageFiles(), and spec_get_macros().
char* Spec_s::nextline |
Definition at line 131 of file rpmspec.h.
Referenced by copyNextLineFinish(), copyNextLineFromOFI(), newSpec(), and restoreFirstChar().
char Spec_s::nextpeekc |
Definition at line 129 of file rpmspec.h.
Referenced by copyNextLineFinish(), newSpec(), and restoreFirstChar().
size_t Spec_s::nfoo |
Definition at line 191 of file rpmspec.h.
Referenced by initSourceHeader(), isPart(), newSpec(), parseBuildInstallClean(), and specFini().
int Spec_s::noSource |
Definition at line 159 of file rpmspec.h.
Referenced by genSourceRpmName(), handlePreambleTag(), and newSpec().
int Spec_s::numSources |
Definition at line 158 of file rpmspec.h.
Referenced by addSource(), newSpec(), processSourceFiles(), and SpecSourceCount().
Package Spec_s::packages |
Package list.
Definition at line 197 of file rpmspec.h.
Referenced by _specQuery(), checkDuplicateFiles(), checkUnpackagedFiles(), checkUnpackagedSubdirs(), doSetupMacro(), genSourceRpmName(), initSourceHeader(), lookupPackage(), newSpec(), packageBinaries(), parseChangelog(), parseDescription(), parsePreamble(), parseSpec(), printNewSpecfile(), processBinaryFiles(), processScriptFiles(), spec_get_packages(), and specFini().
char* Spec_s::passPhrase |
Definition at line 151 of file rpmspec.h.
Referenced by newSpec(), packageBinaries(), packageSources(), parseSpec(), and specFini().
rpmiob Spec_s::prep |
prep scriptlet.
Definition at line 181 of file rpmspec.h.
Referenced by doPatchMacro(), doScript(), doSetupMacro(), initSourceHeaderScriptlets(), newSpec(), parsePrep(), spec_get_prep(), and specFini().
struct ReadLevelEntry* Spec_s::readStack |
Definition at line 137 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), newSpec(), readLine(), readLineFromOFI(), and specFini().
int Spec_s::recursing |
parse is recursive?
Definition at line 144 of file rpmspec.h.
Referenced by addSource(), buildSpec(), newSpec(), parsePreamble(), parseSpec(), and specFini().
const char* Spec_s::rootURL |
Definition at line 115 of file rpmspec.h.
Referenced by doScript(), doSetupMacro(), handlePreambleTag(), newSpec(), parseSpec(), processPackageFiles(), rpmfcGenerateDepends(), and specFini().
speclines Spec_s::sl |
Definition at line 118 of file rpmspec.h.
Referenced by newSpec(), printNewSpecfile(), printParsedSpecfile(), readLineFromOFI(), and specFini().
rpmuint32_t Spec_s::smetrics[RPMSCRIPT_MAX] |
scriptlet time metrics.
Definition at line 178 of file rpmspec.h.
Referenced by build(), newSpec(), and packageSources().
int Spec_s::sourceHdrInit |
Definition at line 169 of file rpmspec.h.
Referenced by initSourceHeader().
Header Spec_s::sourceHeader |
Definition at line 166 of file rpmspec.h.
Referenced by _specQuery(), checkForValidArchitectures(), handlePreambleTag(), initSourceHeader(), initSourceHeaderScriptlets(), newSpec(), packageSources(), parseRCPOT(), processSourceFiles(), and specFini().
unsigned char* Spec_s::sourcePkgId |
Definition at line 164 of file rpmspec.h.
Referenced by newSpec(), packageBinaries(), packageSources(), and specFini().
const char* Spec_s::sourceRpmName |
Definition at line 162 of file rpmspec.h.
Referenced by genSourceRpmName(), newSpec(), packageSources(), parseSpec(), and specFini().
struct Source* Spec_s::sources |
Definition at line 157 of file rpmspec.h.
Referenced by _spec_get_sources(), addSource(), doIcon(), doPatch(), doRmSource(), doSetupMacro(), doUntar(), findSource(), getSource(), initSourceHeader(), newSpec(), prepFetch(), spec_get_sources(), and specFini().
const char* Spec_s::specFile |
Name of the spec file.
Definition at line 111 of file rpmspec.h.
Referenced by buildSpec(), doRmSource(), initSourceHeader(), newSpec(), parseSpec(), and specFini().
rpmuint32_t Spec_s::sstates[RPMSCRIPT_MAX] |
scriptlet states.
Definition at line 177 of file rpmspec.h.
Referenced by newSpec(), and packageSources().
spectags Spec_s::st |
Definition at line 120 of file rpmspec.h.
Referenced by newSpec(), printNewSpecfile(), specFini(), and stashSt().
int Spec_s::timeCheck |
Definition at line 152 of file rpmspec.h.
Referenced by newSpec(), parseSpec(), and processPackageFiles().
int Spec_s::toplevel |
Definition at line 145 of file rpmspec.h.
Referenced by handlePreambleTag(), newSpec(), parsePreamble(), and parseSpec().