diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch b/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch deleted file mode 100644 index 590f58d893..0000000000 --- a/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | rpmmodule.c: Export a few additional RPMSENSE values | ||
2 | |||
3 | We want to see the RPMSENSE_SCRIPT values for use with SMART. We also | ||
4 | want to see the MISSINGOK value so we can avoid recommended packages causing | ||
5 | failures. | ||
6 | |||
7 | Upstream-Status: Submitted [RPM5 maintainer] | ||
8 | |||
9 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
10 | |||
11 | Index: rpm/python/rpmmodule.c | ||
12 | =================================================================== | ||
13 | --- rpm.orig/python/rpmmodule.c | ||
14 | +++ rpm/python/rpmmodule.c | ||
15 | @@ -525,12 +525,15 @@ static int initModule(PyObject *m) | ||
16 | REGISTER_ENUM(RPMSENSE_PREREQ); | ||
17 | REGISTER_ENUM(RPMSENSE_PRETRANS); | ||
18 | REGISTER_ENUM(RPMSENSE_INTERP); | ||
19 | +#else | ||
20 | + #if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) | ||
21 | REGISTER_ENUM(RPMSENSE_SCRIPT_PRE); | ||
22 | REGISTER_ENUM(RPMSENSE_SCRIPT_POST); | ||
23 | REGISTER_ENUM(RPMSENSE_SCRIPT_PREUN); | ||
24 | REGISTER_ENUM(RPMSENSE_SCRIPT_POSTUN); | ||
25 | REGISTER_ENUM(RPMSENSE_SCRIPT_VERIFY); | ||
26 | -#else | ||
27 | + REGISTER_ENUM(RPMSENSE_MISSINGOK); | ||
28 | + #endif | ||
29 | REGISTER_ENUM(RPMSENSE_NOTEQUAL); | ||
30 | #endif | ||
31 | REGISTER_ENUM(RPMSENSE_FIND_REQUIRES); | ||