diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 13:53:51 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 13:53:51 +0200 |
commit | 99faa2735b4b52104a724c6a2f8a7a806bc9c7e5 (patch) | |
tree | fb04ea90f8cd28f91a42ef62b20208789acfc0eb /python | |
parent | 7751f84bf03076eb6ad90ad0d10144846726bdfb (diff) | |
download | librpm-tizen-99faa2735b4b52104a724c6a2f8a7a806bc9c7e5.tar.gz librpm-tizen-99faa2735b4b52104a724c6a2f8a7a806bc9c7e5.tar.bz2 librpm-tizen-99faa2735b4b52104a724c6a2f8a7a806bc9c7e5.zip |
rpmlib.h mass eviction
- explicitly include what's really needed instead
- document remaining uses
Diffstat (limited to 'python')
-rw-r--r-- | python/header-py.c | 3 | ||||
-rw-r--r-- | python/header-py.h | 2 | ||||
-rw-r--r-- | python/rpmal-py.c | 1 | ||||
-rw-r--r-- | python/rpmdb-py.c | 3 | ||||
-rw-r--r-- | python/rpmds-py.c | 3 | ||||
-rw-r--r-- | python/rpmfi-py.c | 3 | ||||
-rw-r--r-- | python/rpmmi-py.c | 1 | ||||
-rw-r--r-- | python/rpmmodule.c | 2 | ||||
-rw-r--r-- | python/rpmps-py.c | 1 | ||||
-rw-r--r-- | python/rpmte-py.c | 1 | ||||
-rw-r--r-- | python/rpmts-py.c | 3 |
11 files changed, 11 insertions, 12 deletions
diff --git a/python/header-py.c b/python/header-py.c index 4905383e5..4e747bacf 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -4,7 +4,8 @@ #include "system.h" -#include <rpm/rpmlib.h> +#include <rpm/rpmlib.h> /* rpmvercmp */ +#include <rpm/rpmtag.h> #include <rpm/rpmstring.h> #include "lib/legacy.h" /* XXX expand/compressFilelist(), providePackageNVR() */ diff --git a/python/header-py.h b/python/header-py.h index ecfb54a34..8937520c8 100644 --- a/python/header-py.h +++ b/python/header-py.h @@ -1,7 +1,7 @@ #ifndef RPMPYTHON_HEADER #define RPMPYTHON_HEADER -#include <rpm/rpmlib.h> +#include <rpm/rpmtypes.h> /** \ingroup py_c * \file python/header-py.h diff --git a/python/rpmal-py.c b/python/rpmal-py.c index 84df79b97..38ecfcd54 100644 --- a/python/rpmal-py.c +++ b/python/rpmal-py.c @@ -4,7 +4,6 @@ #include "system.h" -#include <rpm/rpmlib.h> #include "rpmal-py.h" #include "rpmds-py.h" diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c index 2ce60889f..945e41865 100644 --- a/python/rpmdb-py.c +++ b/python/rpmdb-py.c @@ -4,8 +4,7 @@ #include "system.h" -#include <rpm/rpmlib.h> - +#include <rpm/rpmtag.h> #include "rpmdb-py.h" #include "rpmmi-py.h" #include "header-py.h" diff --git a/python/rpmds-py.c b/python/rpmds-py.c index 00363ccab..8b694653d 100644 --- a/python/rpmds-py.c +++ b/python/rpmds-py.c @@ -4,8 +4,9 @@ #include "system.h" -#include <rpm/rpmlib.h> +#include <rpm/rpmtag.h> #include <rpm/rpmstring.h> +#include <rpm/rpmlib.h> /* rpmvercmp */ #include "header-py.h" #include "rpmds-py.h" diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c index 580b2b574..fc8271917 100644 --- a/python/rpmfi-py.c +++ b/python/rpmfi-py.c @@ -4,8 +4,7 @@ #include "system.h" -#include <rpm/rpmlib.h> - +#include <rpm/rpmtag.h> #include "header-py.h" #include "rpmfi-py.h" diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c index 0017ce81e..4ff9832b7 100644 --- a/python/rpmmi-py.c +++ b/python/rpmmi-py.c @@ -4,7 +4,6 @@ #include "system.h" -#include <rpm/rpmlib.h> #include <rpm/rpmdb.h> #include "rpmmi-py.h" diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 4bfa1e013..47fef4445 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -4,6 +4,8 @@ #include "system.h" +#include <rpm/rpmlib.h> /* rpmMachineScore, rpmReadConfigFiles */ +#include <rpm/rpmtag.h> #include <rpm/rpmdb.h> #include <rpm/rpmsq.h> #include <rpm/rpmlog.h> diff --git a/python/rpmps-py.c b/python/rpmps-py.c index 4a592369c..4d880d3f4 100644 --- a/python/rpmps-py.c +++ b/python/rpmps-py.c @@ -4,7 +4,6 @@ #include "system.h" -#include <rpm/rpmlib.h> #include "rpmps-py.h" diff --git a/python/rpmte-py.c b/python/rpmte-py.c index b9eae475b..3e591a654 100644 --- a/python/rpmte-py.c +++ b/python/rpmte-py.c @@ -4,7 +4,6 @@ #include "system.h" -#include <rpm/rpmlib.h> #include "header-py.h" /* XXX tagNumFromPyObject */ #include "rpmds-py.h" diff --git a/python/rpmts-py.c b/python/rpmts-py.c index d48db7efe..98ebfee04 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -4,7 +4,8 @@ #include "system.h" -#include <rpm/rpmlib.h> +#include <rpm/rpmlib.h> /* rpmReadPackageFile, headerCheck */ +#include <rpm/rpmtag.h> #include <rpm/rpmpgp.h> #include <rpm/rpmdb.h> #include <rpm/rpmbuild.h> |