summaryrefslogtreecommitdiff
path: root/python/spec-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-01 15:30:31 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-01 15:30:31 +0300
commit5f1235d3a86bb629af056cc7d10a603ccd0bfdbe (patch)
tree0a9181176c09ec7589e23825291decdf971386ee /python/spec-py.c
parent0334b82280de0f42dcca867397fb9e6bb72c3b30 (diff)
downloadlibrpm-tizen-5f1235d3a86bb629af056cc7d10a603ccd0bfdbe.tar.gz
librpm-tizen-5f1235d3a86bb629af056cc7d10a603ccd0bfdbe.tar.bz2
librpm-tizen-5f1235d3a86bb629af056cc7d10a603ccd0bfdbe.zip
And now python bindings are really free of librpmbuild internals
- Just one leftover offender in the form of forgotten type rename from commit 675bfca5cc300105f7859f028cc00ea036e72966
Diffstat (limited to 'python/spec-py.c')
-rw-r--r--python/spec-py.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/spec-py.c b/python/spec-py.c
index 7eafc4daa..3bba35e92 100644
--- a/python/spec-py.c
+++ b/python/spec-py.c
@@ -2,7 +2,6 @@
#include "header-py.h"
#include "spec-py.h"
-#include "build/rpmbuild_internal.h" /* XXX FIXME! */
/** \ingroup python
* \name Class: Rpmspec
@@ -288,7 +287,7 @@ spec_Wrap(PyTypeObject *subtype, rpmSpec spec)
return (PyObject *) s;
}
-PyObject * specPkg_Wrap(PyTypeObject *subtype, Package pkg)
+PyObject * specPkg_Wrap(PyTypeObject *subtype, rpmSpecPkg pkg)
{
specPkgObject * s = (specPkgObject *)subtype->tp_alloc(subtype, 0);
if (s == NULL) return NULL;