#include "system.h"
#include <rpmio_internal.h>
#include <rpmbuild.h>
#include "debug.h"
Go to the source code of this file.
Compounds | |
struct | optionalTag |
struct | PreambleRec |
struct | tokenBits |
Defines | |
#define | SINGLE_TOKEN_ONLY |
Functions | |
void | addOrAppendListEntry (Header h, int_32 tag, char *line) |
int | parseSimplePart (char *line, char **name, int *flag) |
int | parseYesNo (const char *s) |
int | parseBits (const char *s, struct tokenBits *tokbits, int *bp) |
char* | findLastChar (char *s) |
int | isMemberInEntry (Header header, const char *name, int tag) |
int | checkForValidArchitectures (Spec spec) |
int | checkForRequired (Header h, const char *name) |
int | checkForDuplicates (Header h, const char *name) |
void | fillOutMainPackage (Header h) |
int | readIcon (Header h, const char *file) |
struct spectag* | stashSt (Spec spec, Header h, int tag, const char *lang) |
int | handlePreambleTag (Spec spec, Package pkg, int tag, const char *macro, const char *lang) |
void | initPreambleList (void) |
int | findPreambleTag (Spec spec, int *tag, char **macro, char *lang) |
int | parsePreamble (Spec spec, int initialPackage) |
Variables | |
int_32 | copyTagsDuringParse [] |
int | requiredTags [] |
struct tokenBits | installScriptBits [] |
struct tokenBits | buildScriptBits [] |
struct optionalTag | optionalTags [] |
int | noLang |
struct PreambleRec | preambleList [] |
Definition in file parsePreamble.c.
|
Value: if (multiToken) { \ rpmError(RPMERR_BADSPEC, _("line %d: Tag takes single token only: %s\n"), \ spec->lineNum, spec->line); \ return RPMERR_BADSPEC; \ } Definition at line 395 of file parsePreamble.c. |
|
Definition at line 46 of file parsePreamble.c. Referenced by handlePreambleTag(). |
|
Definition at line 254 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 235 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 196 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 294 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 164 of file parsePreamble.c. Referenced by handlePreambleTag(). |
|
Definition at line 714 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 406 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 705 of file parsePreamble.c. Referenced by findPreambleTag(). |
|
Definition at line 179 of file parsePreamble.c. Referenced by checkForValidArchitectures(). |
|
Definition at line 131 of file parsePreamble.c. Referenced by handlePreambleTag(). |
|
Definition at line 62 of file parsePreamble.c. Referenced by parsePreamble(). |
|
Definition at line 93 of file parsePreamble.c. Referenced by handlePreambleTag(). |
|
Definition at line 310 of file parsePreamble.c. Referenced by handlePreambleTag(). |
|
Initial value: { { "prep", RPMSENSE_SCRIPT_PREP }, { "build", RPMSENSE_SCRIPT_BUILD }, { "install", RPMSENSE_SCRIPT_INSTALL }, { "clean", RPMSENSE_SCRIPT_CLEAN }, { NULL, 0 } } Definition at line 121 of file parsePreamble.c. |
|
Initial value: { RPMTAG_EPOCH, RPMTAG_VERSION, RPMTAG_RELEASE, RPMTAG_LICENSE, RPMTAG_PACKAGER, RPMTAG_DISTRIBUTION, RPMTAG_DISTURL, RPMTAG_VENDOR, RPMTAG_ICON, RPMTAG_URL, RPMTAG_CHANGELOGTIME, RPMTAG_CHANGELOGNAME, RPMTAG_CHANGELOGTEXT, RPMTAG_PREFIXES, 0 } Definition at line 14 of file parsePreamble.c. |
|
Initial value: { { "interp", RPMSENSE_INTERP }, { "prereq", RPMSENSE_PREREQ }, { "preun", RPMSENSE_SCRIPT_PREUN }, { "pre", RPMSENSE_SCRIPT_PRE }, { "postun", RPMSENSE_SCRIPT_POSTUN }, { "post", RPMSENSE_SCRIPT_POST }, { "rpmlib", RPMSENSE_RPMLIB }, { "verify", RPMSENSE_SCRIPT_VERIFY }, { NULL, 0 } } Definition at line 107 of file parsePreamble.c. |
|
Definition at line 402 of file parsePreamble.c. |
|
|
|
|
|
Initial value: { RPMTAG_NAME, RPMTAG_VERSION, RPMTAG_RELEASE, RPMTAG_SUMMARY, RPMTAG_GROUP, RPMTAG_LICENSE, 0 } Definition at line 34 of file parsePreamble.c. |