[OE-core] [PATCH] pkgconfig: Fix QA issue when upgrade rpm from 5.4.16 to 5.4.17

Zheng Ruoqin zhengrq.fnst at cn.fujitsu.com
Fri Mar 10 03:55:23 UTC 2017


 pkgconfig : Fix QA issue

 When upgrade rpm from 5.4.16 to 5.4.17, a QA WARNING will show as below:
 WARNING: rpm-5.4.17-r0 do_package_qa: QA Issue: /usr/lib/pkgconfig/rpm.pc contained in package rpm-dev requires pkgconfig, but no providers found in RDEPENDS_rpm-dev? [file-rdeps]

Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
---
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index 422c5f3..2296e76 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -41,7 +41,7 @@ FILES_${PN} += "${datadir}/aclocal/pkg.m4"
 # When using the RPM generated automatic package dependencies, some packages
 # will end up requiring 'pkgconfig(pkg-config)'.  Allow this behavior by
 # specifying an appropriate provide.
-RPROVIDES_${PN} += "pkgconfig(pkg-config)"
+RPROVIDES_${PN} += "pkgconfig(pkg-config) pkgconfig"
 
 # Install a pkg-config-native wrapper that will use the native sysroot instead
 # of the MACHINE sysroot, for using pkg-config when building native tools.
-- 
2.7.4






More information about the Openembedded-core mailing list