rpm
5.4.10
|
Parse description section from spec file. More...
#include "system.h"
#include <rpmio.h>
#include <rpmiotypes.h>
#include <rpmlog.h>
#include "rpmbuild.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
int | parseDescription (Spec spec) |
Parse %description section of a spec file. More... | |
Variables | |
int | noLang |
static const char * | name = NULL |
static const char * | lang = NULL |
static struct poptOption | optionsTable [] |
Parse description section from spec file.
Definition in file parseDescription.c.
int parseDescription | ( | Spec | spec | ) |
Parse %description section of a spec file.
spec | spec file control structure |
Definition at line 32 of file parseDescription.c.
References _, _free(), alloca(), _HE_s::c, Package_s::header, headerDel(), headerGet(), headerPut(), isPart(), lang, Spec_s::line, Spec_s::lineNum, lookupPackage(), name, noLang, optionsTable, _HE_s::p, Spec_s::packages, PART_NAME, PART_NONE, PART_SUBNAME, rpmDataType_u::ptr, readLine(), RPM_STRING_TYPE, RPMBUILD_DEFAULT_LANG, rpmiobAppend(), rpmiobFree(), rpmiobNew(), rpmiobRTrim(), rpmiobStr(), rpmlog(), RPMLOG_ERR, RPMRC_FAIL, RPMRC_OK, RPMTAG_DESCRIPTION, stashSt(), rpmDataType_u::str, STRIP_COMMENTS, STRIP_TRAILINGSPACE, _HE_s::t, spectag_s::t_nlines, and _HE_s::tag.
Referenced by parseSpec().
|
static |
Definition at line 23 of file parseDescription.c.
Referenced by addFile(), copyEntry(), headerAddOrAppendEntry(), parseDescription(), parsePreamble(), and rpmtsSkipFiles().
|
static |
Definition at line 21 of file parseDescription.c.
Referenced by addChangelog(), addChangelogEntry(), addMacro(), addSource(), doPrimary(), findTag(), fmtBits(), Fts_read(), glob(), glob_in_dir(), headerGet(), keyCmp(), keyValue(), myTagName(), ncores(), parseBuildInstallClean(), parseDescription(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), parseNoSource(), pgpValTok(), physmem(), printFileInfo(), pushMacro(), rpmdsELF(), rpmdsNSAdd(), rpmfiOpendir(), rpmfts_new(), rpmmc_list(), rpmts_AddErase(), and rpmts_setattro().
int noLang |
Definition at line 57 of file poptBT.c.
Referenced by parseDescription().
|
static |
Definition at line 26 of file parseDescription.c.
Referenced by parseDescription().