rpm
5.4.14
|
#include "system.h"
#include <rpmiotypes.h>
#include <rpmio.h>
#include <rpmmacro.h>
#include "spec-py.h"
Go to the source code of this file.
Macros | |
#define | _MACRO_INTERNAL |
Class: Rpmspec | |
static | void |
static PyObject *PyObject * | result = NULL |
const char * | buildRootURL = rpmExpand("%{?buildroot}", NULL) |
static PyObject *static Py_BuildValue("s", rpmiobStr(spec-> prep)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> build)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> install)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> check)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> clean)) PyObject *PyObject * | sourceList |
static PyObject *static Py_BuildValue("s", rpmiobStr(spec-> prep)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> build)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> install)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> check)) PyObject *static Py_BuildValue("s", rpmiobStr(spec-> clean)) PyObject *PyObject * | srcUrl |
Spec | spec = specFromSpec(s) |
const char * | fullSource |
else | |
static PyObject *PyObject * | macroDict |
static char | spec_doc [] = "RPM Spec file object" |
static PyMethodDef | spec_Spec_methods [] |
PyTypeObject | spec_Type |
PyObject_Del (s) | |
static int | spec_print (specObject *s) |
if (!sourceList) | |
if (spec!=NULL) | |
Spec | specFromSpec (specObject *s) |
specObject * | spec_Wrap (Spec spec) |
if | ( | spec! | = NULL | ) |
Definition at line 129 of file spec-py.c.
References Source::flags, Source::fullSource, Source::next, NULL, Source::num, Py_BuildValue(), Py_XDECREF(), PyList_Append(), and Spec_s::sources.
PyObject_Del | ( | s | ) |
Referenced by hdr_dealloc(), if(), rpmdb_dealloc(), rpmds_free(), rpmfi_free(), rpmmi_dealloc(), rpmps_free(), rpmts_dealloc(), and rpmts_free().
|
static |
specObject* spec_Wrap | ( | Spec | spec | ) |
Spec specFromSpec | ( | specObject * | s | ) |
Definition at line 261 of file spec-py.c.
References specObject_s::spec.
buildRootURL = rpmExpand("%{?buildroot}", NULL) |
Definition at line 63 of file spec-py.c.
Referenced by handlePreambleTag(), and rpmfcGenerateDepends().
else |
macroDict |
sourceList |
Spec spec = specFromSpec(s) |
Definition at line 121 of file spec-py.c.
Referenced by _spec_get_sources(), _spec_get_spec(), expandMacros(), newSpec(), parseExpressionBoolean(), parseExpressionString(), parseSpec(), rpmfcGenerateDepends(), rpmtsSetSpec(), spec_build(), spec_get_macros(), spec_get_packages(), spec_Wrap(), specFini(), and specGetPool().
|
static |
PyObject* static Py_BuildValue ("s", rpmiobStr(spec->prep)) PyObject* static Py_BuildValue ("s", rpmiobStr(spec->build)) PyObject* static Py_BuildValue ("s", rpmiobStr(spec->install)) PyObject* static Py_BuildValue ("s", rpmiobStr(spec->check)) PyObject* static Py_BuildValue ("s", rpmiobStr(spec->clean)) PyObject* PyObject * srcUrl |