rpm
5.4.15
|
Parse build/install/clean 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.
Macros | |
#define | _RPMTAG_INTERNAL |
Functions | |
int | parseBuildInstallClean (Spec spec, rpmParseState parsePart) |
Parse %build/%install/%clean section(s) of a spec file. More... | |
Parse build/install/clean section from spec file.
Definition in file parseBuildInstallClean.c.
#define _RPMTAG_INTERNAL |
Definition at line 10 of file parseBuildInstallClean.c.
int parseBuildInstallClean | ( | Spec | spec, |
rpmParseState | parsePart | ||
) |
Parse %build/%install/%clean section(s) of a spec file.
spec | spec file control structure |
parsePart | current rpmParseState |
Definition at line 14 of file parseBuildInstallClean.c.
References _, _free(), Spec_s::build, Spec_s::check, Spec_s::clean, Spec_s::foo, Spec_s::install, isPart(), Spec_s::line, Spec_s::lineNum, name, Spec_s::nfoo, PART_ARBITRARY, PART_BUILD, PART_CHECK, PART_CLEAN, PART_INSTALL, PART_NONE, readLine(), rpmExpand(), rpmiobAppend(), rpmiobNew(), rpmlog(), RPMLOG_ERR, RPMRC_FAIL, RPMRC_OK, and STRIP_NOTHING.
Referenced by parseSpec().