Patchwork [2/6] usbutils: Move the pkgconfig file(s) to the -dev package

login
register
mail settings
Submitter Mark Hatle
Date Sept. 22, 2011, 1:47 a.m.
Message ID <8364a28d2b3ba005c18424574a3b45e0e14f4eed.1316655855.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/11933/
State New, archived
Headers show

Comments

Mark Hatle - Sept. 22, 2011, 1:47 a.m.
pkgconfig files belong in the -dev package.  They automatically add
a runtime dependency (when packaging with RPM) for "pkgconfig", which
is not desired to be installed with this package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-bsp/usbutils/usbutils_0.91.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
index c5420d0..490b05a 100644
--- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
@@ -7,7 +7,7 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libusb zlib"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
 
@@ -23,7 +23,7 @@  do_install_append() {
 }
 
 PACKAGES += "${PN}-ids"
-FILES_${PN} += "${datadir}/pkgconfig"
+FILES_${PN}-dev += "${datadir}/pkgconfig"
 FILES_${PN}-ids = "${datadir}/usb*"
 
 RDEPENDS_${PN} = "${PN}-ids bash"