blob: b877870411d87802205ec1378fb84715c798dc89 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Inappropriate [OE-Specific]
2
3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4Signed-off-by: Ronan Le Martret <ronan.lemartret@open.eurogiciel.org>
5
6diff --git a/python/rpmmodule.c b/python/rpmmodule.c
7index a4fe217..728c66c 100644
8--- a/python/rpmmodule.c
9+++ b/python/rpmmodule.c
10@@ -396,6 +396,10 @@ static int initModule(PyObject *m)
11 REGISTER_ENUM(RPMSENSE_STRONG);
12 REGISTER_ENUM(RPMSENSE_CONFIG);
13
14+#if defined(RPM_VENDOR_OE)
15+ REGISTER_ENUM(RPMSENSE_MISSINGOK);
16+#endif
17+
18 REGISTER_ENUM(RPMTRANS_FLAG_TEST);
19 REGISTER_ENUM(RPMTRANS_FLAG_BUILD_PROBS);
20 REGISTER_ENUM(RPMTRANS_FLAG_NOSCRIPTS);