[oe-commits] Abdur Rehman : sed: rrec on locale-base-ru-ru, not rdep

git at git.openembedded.org git at git.openembedded.org
Thu Jul 23 19:48:25 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 8e9f1df2205cb775decabf25802a2d24fa8342b7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8e9f1df2205cb775decabf25802a2d24fa8342b7

Author: Abdur Rehman <abdur_rehman at mentor.com>
Date:   Thu Jul 23 20:20:48 2015 +0500

sed: rrec on locale-base-ru-ru, not rdep

This locale package isn't guaranteed to exist, depending on the value of
GLIBC_GENERATE_LOCALES.

The value of GLIBC_GENERATE_LOCALES can be specified to not contain
locale-base-ru-ru, thus resulting in unsatisfied dependency. Its better
to remove hardcoded dependency upon locale-base-ru-ru in favor of a
recommendation, as this locale isn't always available depending upon the
value of GLIBC_GENERATE_LOCALES.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/sed/sed_4.2.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb
index a1e3483..5da3355 100644
--- a/meta/recipes-extended/sed/sed_4.2.2.bb
+++ b/meta/recipes-extended/sed/sed_4.2.2.bb
@@ -15,7 +15,8 @@ SRC_URI[md5sum] = "4111de4faa3b9848a0686b2f260c5056"
 SRC_URI[sha256sum] = "fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff"
 
 inherit autotools texinfo update-alternatives gettext ptest
-RDEPENDS_${PN}-ptest += "make locale-base-ru-ru ${PN}"
+RDEPENDS_${PN}-ptest += "make ${PN}"
+RRECOMMENDS_${PN}-ptest += "locale-base-ru-ru"
 
 EXTRA_OECONF = "--disable-acl \
                 ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-regex-tests', '', d)}"



More information about the Openembedded-commits mailing list