sgml-common: use ${PN} instead of sgml-common
authorConstantin Musca <constantinx.musca@intel.com>
Mon, 4 Feb 2013 09:20:16 +0000 (11:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Feb 2013 16:42:48 +0000 (16:42 +0000)
Fix the following warning:
WARNING: QA Issue: lib32-sgml-common: Files/directories were installed but not shipped
  /etc
  /etc/sgml
  /etc/sgml/sgml.conf
  /usr/bin
  /usr/bin/install-catalog
  /usr/bin/sgmlwhich

[YOCTO #3438]

(From OE-Core rev: 1a43fba81749618f9f1c18b99cb74ae1399bdc35)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb

index 27b1a48..4355379 100644 (file)
@@ -13,7 +13,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE-GPLv2;md5=ab8a50abe86dfc859e148baae043c89b"
 SECTION = "base"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-${PV}.tgz \
            file://autohell.patch \
@@ -29,7 +29,7 @@ do_compile_append() {
        sed -i -e 's|\([ "]\+\)/etc/sgml|\1${sysconfdir}/sgml|g' bin/install-catalog
 }
 
-FILES_sgml-common_append = " ${datadir}/sgml"
+FILES_${PN} += "${datadir}/sgml"
 
 pkg_postinst_${PN}() {
        install-catalog \