- teach python bindings about RPMTRANS_FLAG_NOCONTEXTS (related to #573111)

This commit is contained in:
Panu Matilainen 2010-03-16 09:27:14 +00:00
parent e3441ce16a
commit 6816f23e04
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,18 @@
commit 8c5332984e32d27d28f9a440947b070af0d14c45
Author: Panu Matilainen <pmatilai@redhat.com>
Date: Mon Mar 15 09:45:49 2010 +0200
Tell python about RPMTRANS_FLAG_NOCONTEXTS
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 4ace4bc..6159aee 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -386,6 +386,7 @@ static int initModule(PyObject *m)
REGISTER_ENUM(RPMTRANS_FLAG_NODOCS);
REGISTER_ENUM(RPMTRANS_FLAG_ALLFILES);
REGISTER_ENUM(RPMTRANS_FLAG_KEEPOBSOLETE);
+ REGISTER_ENUM(RPMTRANS_FLAG_NOCONTEXTS);
REGISTER_ENUM(RPMTRANS_FLAG_REPACKAGE);
REGISTER_ENUM(RPMTRANS_FLAG_REVERSE);
REGISTER_ENUM(RPMTRANS_FLAG_NOPRE);

View File

@ -46,6 +46,7 @@ Patch203: rpm-4.8.0-python-bytecompile.patch
Patch204: rpm-4.8.0-lazy-statfs.patch Patch204: rpm-4.8.0-lazy-statfs.patch
Patch205: rpm-4.8.0-erasure-dsi.patch Patch205: rpm-4.8.0-erasure-dsi.patch
Patch206: rpm-4.8.0-prep-keep-empty.patch Patch206: rpm-4.8.0-prep-keep-empty.patch
Patch207: rpm-4.8.0-python-nocontexts.patch
# These are not yet upstream # These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch Patch301: rpm-4.6.0-niagara.patch
@ -198,6 +199,7 @@ packages on a system.
%patch204 -p1 -b .lazy-statfs %patch204 -p1 -b .lazy-statfs
%patch205 -p1 -b .erasure-dsi %patch205 -p1 -b .erasure-dsi
%patch206 -p1 -b .prep-keep-empty %patch206 -p1 -b .prep-keep-empty
%patch207 -p1 -b .python-nocontexts
%patch301 -p1 -b .niagara %patch301 -p1 -b .niagara
%patch302 -p1 -b .geode %patch302 -p1 -b .geode
@ -418,6 +420,7 @@ exit 0
- support single PPD providing driver for devices (#568351) - support single PPD providing driver for devices (#568351)
- merge the psdriver patch pile into one - merge the psdriver patch pile into one
- preserve empty lines in spec prep section (#573339) - preserve empty lines in spec prep section (#573339)
- teach python bindings about RPMTRANS_FLAG_NOCONTEXTS (related to #573111)
* Mon Feb 15 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.0-10 * Mon Feb 15 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.0-10
- drop bogus dependency on lzma, xz is used to handle the lzma format too - drop bogus dependency on lzma, xz is used to handle the lzma format too