The structure used to store values parsed from a spec file. More...
#include <build/rpmspec.h>
Data Fields | |
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 | sourceCpioList |
int | sourceHdrInit |
MacroContext | macros |
rpmRC(* | _parseRCPOT )(Spec spec, Package pkg, const char *field, rpmTag tagN, rpmuint32_t index, rpmsenseFlags tagflags) |
rpmiob | prep |
rpmiob | build |
rpmiob | install |
rpmiob | check |
rpmiob | clean |
size_t | nfoo |
tagStore_t | foo |
Package | packages |
The structure used to store values parsed from a spec file.
Definition at line 106 of file rpmspec.h.
rpmRC(* Spec_s::_parseRCPOT)(Spec spec, Package pkg, const char *field, rpmTag tagN, rpmuint32_t index, rpmsenseFlags tagflags) |
Definition at line 171 of file rpmspec.h.
Referenced by newSpec(), rpmfcGenerateDependsHelper(), and rpmfcGenerateScriptletDeps().
int Spec_s::anyarch |
Definition at line 145 of file rpmspec.h.
Referenced by newSpec(), parsePreamble(), and parseSpec().
int Spec_s::BACount |
Definition at line 140 of file rpmspec.h.
Referenced by buildSpec(), freeSpec(), handlePreambleTag(), initSourceHeader(), newSpec(), and parseSpec().
const char** Spec_s::BANames |
Definition at line 139 of file rpmspec.h.
Referenced by freeSpec(), handlePreambleTag(), initSourceHeader(), newSpec(), parsePreamble(), and parseSpec().
Definition at line 137 of file rpmspec.h.
Referenced by buildSpec(), freeSpec(), newSpec(), and parseSpec().
build scriptlet.
Definition at line 177 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), and spec_get_build().
const char* Spec_s::buildSubdir |
Definition at line 110 of file rpmspec.h.
Referenced by doSetupMacro(), freeSpec(), newSpec(), and processPackageFiles().
check scriptlet.
Definition at line 181 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), and spec_get_check().
clean scriptlet.
Definition at line 183 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), and spec_get_clean().
const char* Spec_s::cookie |
Definition at line 151 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), packageBinaries(), packageSources(), and parseSpec().
struct OpenFileInfo* Spec_s::fileStack |
Definition at line 120 of file rpmspec.h.
Referenced by closeSpec(), forceIncludeFile(), newSpec(), parseSpec(), readLine(), and readLineFromOFI().
Definition at line 187 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeader(), isPart(), newSpec(), and parseBuildInstallClean().
int Spec_s::force |
Definition at line 144 of file rpmspec.h.
Referenced by doPatch(), doUntar(), newSpec(), parsePrep(), and parseSpec().
install scriptlet.
Definition at line 179 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), parseBuildInstallClean(), and spec_get_install().
char* Spec_s::lbuf |
Definition at line 122 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), freeSpec(), and newSpec().
size_t Spec_s::lbuf_len |
Definition at line 123 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), and newSpec().
char* Spec_s::lbufPtr |
Definition at line 125 of file rpmspec.h.
Referenced by copyNextLineFromOFI().
char* Spec_s::line |
Definition at line 130 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 131 of file rpmspec.h.
Referenced by addSource(), copyNextLineFromOFI(), doPatchMacro(), doSetupMacro(), handlePreambleTag(), newSpec(), parseBuildInstallClean(), parseDescription(), parseFiles(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), readLineFromOFI(), stashSt(), and tagValidate().
Definition at line 169 of file rpmspec.h.
Referenced by addFileToTagAux(), addSource(), copyNextLineFromOFI(), doSetupMacro(), handlePreambleTag(), newSpec(), parsePreamble(), and processPackageFiles().
char* Spec_s::nextline |
Definition at line 128 of file rpmspec.h.
Referenced by copyNextLineFinish(), copyNextLineFromOFI(), newSpec(), and restoreFirstChar().
char Spec_s::nextpeekc |
Definition at line 126 of file rpmspec.h.
Referenced by copyNextLineFinish(), newSpec(), and restoreFirstChar().
size_t Spec_s::nfoo |
Definition at line 185 of file rpmspec.h.
Referenced by buildForTarget(), freeSpec(), initSourceHeader(), isPart(), newSpec(), and parseBuildInstallClean().
int Spec_s::noSource |
Definition at line 156 of file rpmspec.h.
Referenced by genSourceRpmName(), handlePreambleTag(), and newSpec().
Definition at line 155 of file rpmspec.h.
Referenced by addSource(), newSpec(), processSourceFiles(), and SpecSourceCount().
Package list.
Definition at line 190 of file rpmspec.h.
Referenced by _specQuery(), checkDuplicateFiles(), checkUnpackagedFiles(), checkUnpackagedSubdirs(), doSetupMacro(), freeSpec(), genSourceRpmName(), initSourceHeader(), lookupPackage(), newSpec(), packageBinaries(), parseChangelog(), parsePreamble(), parseSpec(), printNewSpecfile(), and processBinaryFiles().
char* Spec_s::passPhrase |
Definition at line 148 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), packageBinaries(), packageSources(), and parseSpec().
prep scriptlet.
Definition at line 175 of file rpmspec.h.
Referenced by buildForTarget(), doPatchMacro(), doSetupMacro(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), parsePrep(), and spec_get_prep().
struct ReadLevelEntry* Spec_s::readStack |
Definition at line 134 of file rpmspec.h.
Referenced by copyNextLineFromOFI(), freeSpec(), newSpec(), readLine(), and readLineFromOFI().
parse is recursive?
Definition at line 141 of file rpmspec.h.
Referenced by addSource(), buildSpec(), freeSpec(), newSpec(), parsePreamble(), and parseSpec().
const char* Spec_s::rootURL |
Definition at line 112 of file rpmspec.h.
Referenced by doScript(), doSetupMacro(), freeSpec(), handlePreambleTag(), newSpec(), parseSpec(), processPackageFiles(), and rpmfcGenerateDepends().
Definition at line 115 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), printNewSpecfile(), and readLineFromOFI().
Definition at line 165 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), packageSources(), and processSourceFiles().
Definition at line 166 of file rpmspec.h.
Referenced by initSourceHeader().
Definition at line 163 of file rpmspec.h.
Referenced by _specQuery(), checkForValidArchitectures(), freeSpec(), handlePreambleTag(), initSourceHeader(), initSourceHeaderScriptlets(), newSpec(), packageSources(), parseRCPOT(), and processSourceFiles().
unsigned char* Spec_s::sourcePkgId |
Definition at line 161 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), packageBinaries(), and packageSources().
const char* Spec_s::sourceRpmName |
Definition at line 159 of file rpmspec.h.
Referenced by freeSpec(), genSourceRpmName(), newSpec(), packageSources(), and parseSpec().
struct Source* Spec_s::sources |
Definition at line 154 of file rpmspec.h.
Referenced by addSource(), doIcon(), doPatch(), doUntar(), findSource(), freeSpec(), getSource(), initSourceHeader(), isSpecFile(), newSpec(), prepFetch(), and spec_get_sources().
const char* Spec_s::specFile |
Name of the spec file.
Definition at line 108 of file rpmspec.h.
Referenced by buildSpec(), freeSpec(), initSourceHeader(), isSpecFile(), newSpec(), and parseSpec().
Definition at line 117 of file rpmspec.h.
Referenced by freeSpec(), newSpec(), printNewSpecfile(), and stashSt().
Definition at line 149 of file rpmspec.h.
Referenced by newSpec(), parseSpec(), and processPackageFiles().
int Spec_s::toplevel |
Definition at line 142 of file rpmspec.h.
Referenced by handlePreambleTag(), newSpec(), parsePreamble(), and parseSpec().