#include "system.h"
#include "rpmbuild.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | CVS_RCSID "$""Log: " |
#define | CVS_REVISION "Revision " |
Functions | |
void | addChangelogEntry (Header h, time_t time, const char *name, const char *text) |
Add changelog entry to header. | |
static int | dateToTimet (const char *datestr, time_t *secs) |
Parse date string to seconds. | |
static int | addChangelog (Header h, StringBuf sb) |
Add changelog section to header. | |
int | parseChangelog (Spec spec) |
Parse %changelog section of a spec file. |
Definition in file parseChangelog.c.
|
Definition at line 11 of file parseChangelog.c. Referenced by addChangelog(). |
|
Definition at line 12 of file parseChangelog.c. Referenced by addChangelog(). |
|
Add changelog section to header.
Definition at line 114 of file parseChangelog.c. References _, addChangelogEntry(), CVS_RCSID, CVS_REVISION, dateToTimet(), getStringBuf(), name, next, RPMERR_BADSPEC, rpmError, rpmExpandNumeric(), SKIPNONSPACE, SKIPSPACE, and xisspace(). Referenced by parseChangelog(). |
|
Parse date string to seconds.
Definition at line 41 of file parseChangelog.c. References alloca(), SKIPNONSPACE, and SKIPSPACE. Referenced by addChangelog(). |