sgml-common: use ${PN} instead of sgml-common
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>
This commit is contained in:
parent
8834ca79ba
commit
ece7f0b8a4
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue