diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index c1db1ca99b..1cf7014bc8 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -443,7 +443,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, d): if "-dbg" in rdepend and "debug-deps" not in skip: error_msg = "%s rdepends on %s" % (pkgname,rdepend) sane = package_qa_handle_error("debug-deps", error_msg, d) - if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"): + if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev") and "dev-deps" not in skip: error_msg = "%s rdepends on %s" % (pkgname, rdepend) sane = package_qa_handle_error("dev-deps", error_msg, d)