#include "system.h"
#include <rpmio_internal.h>
#include <rpmbuild.h>
#include "debug.h"
Go to the source code of this file.
Data Structures | |
| struct | optionalTag |
| struct | PreambleRec_s |
| struct | tokenBits_s |
Defines | |
| #define | SINGLE_TOKEN_ONLY |
Typedefs | |
| typedef struct tokenBits_s * | tokenBits |
| typedef struct PreambleRec_s * | PreambleRec |
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, const tokenBits tokbits, rpmsenseFlags *bp) |
| char* | findLastChar (char *s) |
| int | isMemberInEntry (Header h, const char *name, rpmTag tag) |
| int | checkForValidArchitectures (Spec spec) |
| int | checkForRequired (Header h, const char *NVR) |
| Check that required tags are present in header. More... | |
| int | checkForDuplicates (Header h, const char *NVR) |
| Check that no duplicate tags are present in header. More... | |
| void | fillOutMainPackage (Header h) |
| int | readIcon (Header h, const char *file) |
| 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, const char **macro, char *lang) |
| int | parsePreamble (Spec spec, int initialPackage) |
Variables | |
| rpmTag | copyTagsDuringParse [] |
| rpmTag | requiredTags [] |
| struct tokenBits_s | installScriptBits [] |
| struct tokenBits_s | buildScriptBits [] |
| struct optionalTag | optionalTags [] |
| int | noLang |
| struct PreambleRec_s | 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 422 of file parsePreamble.c. |
|
|
|
|
|
|
|
|
Definition at line 49 of file parsePreamble.c. Referenced by handlePreambleTag().
|
|
|
Check that no duplicate tags are present in header.
Definition at line 280 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Check that required tags are present in header.
Definition at line 256 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 212 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 317 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 173 of file parsePreamble.c. Referenced by handlePreambleTag().
|
|
|
Definition at line 758 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 435 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 748 of file parsePreamble.c. Referenced by findPreambleTag().
|
|
|
Definition at line 191 of file parsePreamble.c. Referenced by checkForValidArchitectures().
|
|
|
Definition at line 137 of file parsePreamble.c. Referenced by handlePreambleTag().
|
|
|
Definition at line 66 of file parsePreamble.c. Referenced by parsePreamble().
|
|
|
Definition at line 98 of file parsePreamble.c. Referenced by handlePreambleTag().
|
|
|
Definition at line 334 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 127 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,
RPMTAG_RHNPLATFORM,
0
}Definition at line 16 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 113 of file parsePreamble.c. |
|
|
Definition at line 430 of file parsePreamble.c. |
|
|
|
|
|
Definition at line 699 of file parsePreamble.c. |
|
|
Initial value: {
RPMTAG_NAME,
RPMTAG_VERSION,
RPMTAG_RELEASE,
RPMTAG_SUMMARY,
RPMTAG_GROUP,
RPMTAG_LICENSE,
0
}Definition at line 37 of file parsePreamble.c. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001