diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-08-09 17:51:29 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-08-13 10:13:19 -0700 |
commit | a84ecc5ad158a7529a904785de25ebfedf5767a7 (patch) | |
tree | b41f33354732936b3f553e5017bf377b00692f4b /meta/recipes-devtools/rpm | |
parent | 0f589b9a38397fdf55025062a45889b19d1c83c4 (diff) | |
download | openembedded-core-a84ecc5ad158a7529a904785de25ebfedf5767a7.tar.gz openembedded-core-a84ecc5ad158a7529a904785de25ebfedf5767a7.tar.bz2 openembedded-core-a84ecc5ad158a7529a904785de25ebfedf5767a7.zip |
rpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE
Change the #define references to match RPM_VENDOR_OE.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm')
6 files changed, 22 insertions, 22 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch b/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch index 0fae571e49..c1fab3e1a0 100644 --- a/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch +++ b/meta/recipes-devtools/rpm/rpm/python-rpm-rpmsense.patch @@ -17,7 +17,7 @@ Index: rpm-5.4.9/python/rpmmodule.c 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) ++#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) REGISTER_ENUM(RPMSENSE_PREREQ); REGISTER_ENUM(RPMSENSE_SCRIPT_PRE); REGISTER_ENUM(RPMSENSE_SCRIPT_POST); @@ -26,7 +26,7 @@ Index: rpm-5.4.9/python/rpmmodule.c + REGISTER_ENUM(RPMSENSE_SCRIPT_POSTUN); +#endif + -+#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) + REGISTER_ENUM(RPMSENSE_MISSINGOK); #endif diff --git a/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch b/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch index d81e25ac4e..c4b4c03de8 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch @@ -12,7 +12,7 @@ diff -urN rpm-5.4.0.orig/lib/order.c rpm-5.4.0/lib/order.c rpmlogLvl msglvl = (anaconda || (rpmtsDFlags(ts) & RPMDEPS_FLAG_DEPLOOPS)) ? RPMLOG_WARNING : RPMLOG_ERR; -#if defined(RPM_VENDOR_MANDRIVA) /* loop-detection-optional-loglevel */ -+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_POKY) /* loop-detection-optional-loglevel */ ++#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_OE) /* loop-detection-optional-loglevel */ // Report loops as debug-level message by default (7 = RPMLOG_DEBUG), overridable msglvl = rpmExpandNumeric("%{?_loop_detection_loglevel}%{?!_loop_detection_loglevel:7}"); #endif diff --git a/meta/recipes-devtools/rpm/rpm/rpm-platform-file-fix.patch b/meta/recipes-devtools/rpm/rpm/rpm-platform-file-fix.patch index 0f391d213a..1432b16244 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-platform-file-fix.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-platform-file-fix.patch @@ -12,7 +12,7 @@ index e676601..9140bbe 100644 #endif } -+#if !defined(RPM_VENDOR_POKY) /* Skip the explicit-platform */ ++#if !defined(RPM_VENDOR_OE) /* Skip the explicit-platform */ #if defined(RPM_VENDOR_OPENPKG) /* explicit-platform */ /* do not use vendor and GNU attribution */ p = rpmExpand("%{_host_cpu}-%{_host_os}", NULL); diff --git a/meta/recipes-devtools/rpm/rpm/rpm-platform.patch b/meta/recipes-devtools/rpm/rpm/rpm-platform.patch index 9e167d82f3..172510cb9e 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-platform.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-platform.patch @@ -14,7 +14,7 @@ diff -ur rpm-5.4.0.orig/lib/depends.c rpm-5.4.0/lib/depends.c } -#if defined(RPM_VENDOR_WINDRIVER) -+#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_OE) /* * If we're capable of installing multiple colors * but at least one of the packages are white (0), we @@ -23,7 +23,7 @@ diff -ur rpm-5.4.0.orig/lib/depends.c rpm-5.4.0/lib/depends.c } -#if defined(RPM_VENDOR_WINDRIVER) -+#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_OE) /* Is "compat" compatible w/ arch? */ int _isCompatibleArch(const char * arch, const char * compat) { @@ -32,7 +32,7 @@ diff -ur rpm-5.4.0.orig/lib/depends.c rpm-5.4.0/lib/depends.c if (arch == NULL || (parch = rpmteA(p)) == NULL) continue; -#if defined(RPM_VENDOR_WINDRIVER) -+#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) && !defined(RPM_VENDOR_OE) /* XXX hackery for alias matching. */ if (!_isCompatibleArch(arch, parch)) continue; @@ -40,7 +40,7 @@ diff -ur rpm-5.4.0.orig/lib/depends.c rpm-5.4.0/lib/depends.c return rc; } -+#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) +#define _ETC_RPM_SYSINFO "%{_etcrpm}/sysinfo" +#else +#define _ETC_RPM_SYSINFO SYSCONFIGDIR "/sysinfo" diff --git a/meta/recipes-devtools/rpm/rpm/rpm-platform2.patch b/meta/recipes-devtools/rpm/rpm/rpm-platform2.patch index 6683d8fdbf..79124bb6c4 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-platform2.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-platform2.patch @@ -22,7 +22,7 @@ Index: rpm-5.4.9/lib/rpmrc.c { -#if defined(RPM_VENDOR_WINDRIVER) -+#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) addMacro(NULL, "_usrlibrpm", NULL, __usrlibrpm, RMIL_DEFAULT); addMacro(NULL, "_etcrpm", NULL, __etcrpm, RMIL_DEFAULT); addMacro(NULL, "_vendor", NULL, "%{?_host_vendor}%{!?_host_vendor:wrs}", RMIL_DEFAULT); @@ -38,7 +38,7 @@ Index: rpm-5.4.9/lib/rpmrc.c } if (!parseCVOG(p, &cvog) && cvog != NULL) { -+#if defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_OE) + char * _gnu = NULL; + + addMacro(NULL, "_platform_cpu", NULL, cvog->cpu, -1); @@ -98,7 +98,7 @@ Index: rpm-5.4.9/python/rpmmodule.c -#if defined(RPM_VENDOR_WINDRIVER) - platform = rpmExpand(arch, "-%{_host_vendor}", "-%{_host_os}%{?_gnu}", NULL); -+#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_POKY) ++#if defined(RPM_VENDOR_WINDRIVER) || defined(RPM_VENDOR_OE) + platform = rpmExpand(arch, "-%{_host_vendor}", "-%{_host_os}%{?_host_gnu}%{!?_host_gnu:%{?_gnu}}", NULL); #else platform = rpmExpand(arch, "-", "%{_vendor}", "-", "%{_os}", NULL); diff --git a/meta/recipes-devtools/rpm/rpm/rpm-scriptletexechelper.patch b/meta/recipes-devtools/rpm/rpm/rpm-scriptletexechelper.patch index 8a9e712acf..f4e42287da 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-scriptletexechelper.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-scriptletexechelper.patch @@ -20,7 +20,7 @@ Index: rpm-5.4.9/lib/psm.c int xx; int i; -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + const char * scriptletWrapper = rpmExpand("%{?_cross_scriptlet_wrapper}", NULL); +#endif + @@ -41,7 +41,7 @@ Index: rpm-5.4.9/lib/psm.c + argc = 0; + } + -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + if (scriptletWrapper && *scriptletWrapper) { + argv[argc++] = scriptletWrapper; + argv[argc] = rpmtsRootDir(ts); @@ -69,7 +69,7 @@ Index: rpm-5.4.9/lib/psm.c if (rpmIsDebug() && - (!strcmp(argv[0], "/bin/sh") || !strcmp(argv[0], "/bin/bash"))) + (!strcmp(argv[0], "/bin/sh") || !strcmp(argv[0], "/bin/bash")) -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + || (scriptletWrapper && *scriptletWrapper && !strcmp(argv[1], "/bin/sh")) + || (scriptletWrapper && *scriptletWrapper && !strcmp(argv[1], "/bin/bash")) +#endif @@ -81,7 +81,7 @@ Index: rpm-5.4.9/lib/psm.c { const char * rootDir = rpmtsRootDir(ts); if (!rpmtsChrootDone(ts) && rootDir != NULL && -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + !(scriptletWrapper && *scriptletWrapper) && +#endif !(rootDir[0] == '/' && rootDir[1] == '\0')) @@ -90,7 +90,7 @@ Index: rpm-5.4.9/lib/psm.c xx = Chroot(rootDir); /*@=modobserver@*/ } -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + if (!rpmtsChrootDone(ts) && rootDir != NULL && + (scriptletWrapper && *scriptletWrapper) && + !(rootDir[0] == '/' && rootDir[1] == '\0')) @@ -105,7 +105,7 @@ Index: rpm-5.4.9/lib/psm.c /* XXX running %verifyscript/%sanitycheck doesn't have psm->te */ { rpmtxn _parent = (psm && psm->te ? psm->te->txn : NULL); + -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + const char * scriptletWrapper = rpmExpand("%{?_cross_scriptlet_wrapper}", NULL); + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_OUT); @@ -118,7 +118,7 @@ Index: rpm-5.4.9/lib/psm.c else xx = rpmtxnCommit(rpmtsGetRdb(ts)->db_txn); rpmtsGetRdb(ts)->db_txn = NULL; -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_IN); +#endif @@ -126,13 +126,13 @@ Index: rpm-5.4.9/lib/psm.c case PSM_TRIGGERS: /* Run triggers in other package(s) this package sets off. */ if (rpmtsFlags(ts) & RPMTRANS_FLAG_TEST) break; -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + const char * scriptletWrapper = rpmExpand("%{?_cross_scriptlet_wrapper}", NULL); + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_OUT); +#endif rc = runTriggers(psm); -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_IN); +#endif @@ -143,14 +143,14 @@ Index: rpm-5.4.9/lib/psm.c F_SET(psm, GOTTRIGGERS); } if (psm->triggers != NULL) -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + { + const char * scriptletWrapper = rpmExpand("%{?_cross_scriptlet_wrapper}", NULL); + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_OUT); +#endif rc = runImmedTriggers(psm); -+#ifdef RPM_VENDOR_POKY ++#ifdef RPM_VENDOR_OE + if (scriptletWrapper && *scriptletWrapper) + rc = rpmpsmNext(psm, PSM_CHROOT_IN); + } |