rpm
5.4.15
|
Parse files 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 | parseFiles (Spec spec) |
Parse %files section of a spec file. More... | |
Variables | |
static const char * | name = NULL |
static const char * | file = NULL |
static struct poptOption | optionsTable [] |
Parse files section from spec file.
Definition in file parseFiles.c.
int parseFiles | ( | Spec | spec | ) |
Parse %files section of a spec file.
spec | spec file control structure |
Definition at line 28 of file parseFiles.c.
References _, _free(), arg, Spec_s::clean, file, Package_s::fileFile, Package_s::fileList, isPart(), Spec_s::line, Spec_s::lineNum, lookupPackage(), name, optionsTable, PART_CLEAN, PART_NAME, PART_NONE, PART_SUBNAME, readLine(), rpmGetPath(), rpmiobAppend(), rpmiobNew(), rpmlog(), RPMLOG_ERR, RPMRC_FAIL, RPMRC_OK, and STRIP_COMMENTS.
Referenced by parseSpec().
|
static |
Definition at line 20 of file parseFiles.c.
Referenced by gridfs_remove_filename(), parseFiles(), rpmGenPath(), and rpmgitCmdInit().
|
static |
Definition at line 18 of file parseFiles.c.
Referenced by parseFiles().
|
static |
Definition at line 22 of file parseFiles.c.
Referenced by parseFiles().