Patchwork [02/10] sgml-common: use ${PN} instead of sgml-common

login
register
mail settings
Submitter Constantin Musca
Date Feb. 4, 2013, 9:20 a.m.
Message ID <fd33d155adead3b0c13cdadbf0d3578588949ed7.1359967266.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43933/
State Accepted
Commit ece7f0b8a46c859da98652b7f8330a60afdc6e77
Headers show

Comments

Constantin Musca - Feb. 4, 2013, 9:20 a.m.
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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
index 27b1a48..4355379 100644
--- a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
+++ b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
@@ -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 \