summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-08-30 17:06:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-08-30 17:06:14 +0300
commit431a6bc687af4daa00dec976659c68e0b2a7722c (patch)
tree732acba1e74d24e75cd4e32ef378fdf3a344bf05 /python
parent0ad1873796883c0f66b2ad8526766d68ed28dd0b (diff)
downloadrpm-431a6bc687af4daa00dec976659c68e0b2a7722c.tar.gz
rpm-431a6bc687af4daa00dec976659c68e0b2a7722c.tar.bz2
rpm-431a6bc687af4daa00dec976659c68e0b2a7722c.zip
Get rpmcli.h includes out of python bindings
Diffstat (limited to 'python')
-rw-r--r--python/header-py.c2
-rw-r--r--python/header-py.h2
-rw-r--r--python/rpmdebug-py.c2
-rw-r--r--python/rpmmodule.c1
-rw-r--r--python/rpmrc-py.c4
5 files changed, 4 insertions, 7 deletions
diff --git a/python/header-py.c b/python/header-py.c
index ff2331693..2c42ba823 100644
--- a/python/header-py.c
+++ b/python/header-py.c
@@ -5,7 +5,7 @@
#include "system.h"
#include "rpmio_internal.h"
-#include "rpmcli.h" /* XXX for rpmCheckSig */
+#include "rpmlib.h"
#include "legacy.h"
#include "misc.h"
diff --git a/python/header-py.h b/python/header-py.h
index 7c470f0f0..20aa8b1a0 100644
--- a/python/header-py.h
+++ b/python/header-py.h
@@ -1,6 +1,8 @@
#ifndef RPMPYTHON_HEADER
#define RPMPYTHON_HEADER
+#include <rpmlib.h>
+
/** \ingroup py_c
* \file python/header-py.h
*/
diff --git a/python/rpmdebug-py.c b/python/rpmdebug-py.c
index 1ddab213a..8a7810791 100644
--- a/python/rpmdebug-py.c
+++ b/python/rpmdebug-py.c
@@ -6,8 +6,6 @@ extern PyTypeObject PyDictIter_Type;
/*@unchecked@*/
extern PyTypeObject PyFrame_Type;
-#include <rpmcli.h> /* XXX debug only */
-
#include "header-py.h" /* XXX debug only */
#include "rpmal-py.h" /* XXX debug only */
#include "rpmds-py.h" /* XXX debug only */
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 2a0ee11d1..343e26a02 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -5,7 +5,6 @@
#include "system.h"
#include <rpmio_internal.h>
-#include <rpmcli.h> /* XXX for rpmCheckSig */
#include <rpmdb.h>
#include <rpmsq.h>
diff --git a/python/rpmrc-py.c b/python/rpmrc-py.c
index 458e827bd..ead1a920d 100644
--- a/python/rpmrc-py.c
+++ b/python/rpmrc-py.c
@@ -7,10 +7,8 @@
#include "structmember.h"
#include "rpmdebug-py.c"
-
-#include <rpmcli.h>
-
#include "rpmrc-py.h"
+#include "rpmmacro.h"
#include "debug.h"