diff --git a/rpm-4.8.0-python-nocontexts.patch b/rpm-4.8.0-python-nocontexts.patch new file mode 100644 index 0000000..2f843f8 --- /dev/null +++ b/rpm-4.8.0-python-nocontexts.patch @@ -0,0 +1,18 @@ +commit 8c5332984e32d27d28f9a440947b070af0d14c45 +Author: Panu Matilainen +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); diff --git a/rpm.spec b/rpm.spec index 14d09ea..5124fce 100644 --- a/rpm.spec +++ b/rpm.spec @@ -46,6 +46,7 @@ Patch203: rpm-4.8.0-python-bytecompile.patch Patch204: rpm-4.8.0-lazy-statfs.patch Patch205: rpm-4.8.0-erasure-dsi.patch Patch206: rpm-4.8.0-prep-keep-empty.patch +Patch207: rpm-4.8.0-python-nocontexts.patch # These are not yet upstream Patch301: rpm-4.6.0-niagara.patch @@ -198,6 +199,7 @@ packages on a system. %patch204 -p1 -b .lazy-statfs %patch205 -p1 -b .erasure-dsi %patch206 -p1 -b .prep-keep-empty +%patch207 -p1 -b .python-nocontexts %patch301 -p1 -b .niagara %patch302 -p1 -b .geode @@ -418,6 +420,7 @@ exit 0 - support single PPD providing driver for devices (#568351) - merge the psdriver patch pile into one - preserve empty lines in spec prep section (#573339) +- teach python bindings about RPMTRANS_FLAG_NOCONTEXTS (related to #573111) * Mon Feb 15 2010 Panu Matilainen - 4.8.0-10 - drop bogus dependency on lzma, xz is used to handle the lzma format too