rpmmodule.c: Export a few additional RPMSENSE values

We want to see the RPMSENSE_SCRIPT values for use with SMART.  We also
want to see the MISSINGOK value so we can avoid recommended packages causing
failures.

Upstream-Status: Pending

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

Index: rpm-5.4.9/python/rpmmodule.c
===================================================================
--- rpm-5.4.9.orig/python/rpmmodule.c
+++ rpm-5.4.9/python/rpmmodule.c
@@ -494,12 +494,16 @@ void init_rpm(void)
     REGISTER_ENUM(RPMSENSE_EQUAL);
     REGISTER_ENUM(RPMSENSE_NOTEQUAL);
     REGISTER_ENUM(RPMSENSE_FIND_REQUIRES);
-#if defined(RPM_VENDOR_MANDRIVA)
+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY)
     REGISTER_ENUM(RPMSENSE_PREREQ);
     REGISTER_ENUM(RPMSENSE_SCRIPT_PRE);
     REGISTER_ENUM(RPMSENSE_SCRIPT_POST);
     REGISTER_ENUM(RPMSENSE_SCRIPT_PREUN);
-    REGISTER_ENUM(RPMSENSE_SCRIPT_POSTUN)
+    REGISTER_ENUM(RPMSENSE_SCRIPT_POSTUN);
+#endif
+
+#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY)
+    REGISTER_ENUM(RPMSENSE_MISSINGOK);
 #endif
 
     REGISTER_ENUM(RPMDEPS_FLAG_NOUPGRADE);
