teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.8.0-python-nocontexts.patch

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