rpm
5.4.15
|
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(), arg, _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(), parseDescription(), parsePreamble(), and rpmtsSkipFiles().
|
static |
Definition at line 21 of file parseDescription.c.
Referenced by addChangelog(), addChangelogEntry(), addMacro(), addSource(), cmd_defnode(), cmd_defvar(), compare(), doPrimary(), findTag(), fmtBits(), Fts_read(), getMachineInfo(), glob(), glob_in_dir(), headerGet(), hw_cores(), keyCmp(), keycompare(), keyValue(), lookupInDefaultTable(), mtreeVisitF(), myTagName(), ncores(), parse_options(), parseBuildInstallClean(), parseDescription(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), parsekey(), parseNoSource(), parsePreamble(), physmem(), printFileInfo(), pushMacro(), rebuildCompatTables(), rpmdsELF(), rpmfiOpendir(), rpmfts_new(), rpmgitCmdInit(), rpmioNewPool(), rpmmc_list(), rpmts_AddErase(), rpmts_setattro(), sql_initDB(), and tagLoadArgv().
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().