From e05ce8fb3943755ef7c73c07e456e8ee8757f7bd Mon Sep 17 00:00:00 2001 From: "Jeremy A. Puhlman" Date: Fri, 20 May 2022 14:30:07 -0400 Subject: lib-perl: prefix man pages to avoid conflicting with base perl The following occurs when pkgs-docs added to image features. Error: Transaction test error: file /usr/share/man/man3/lib.3 conflicts between attempted installs of lib-perl-doc-0.63-r0.corei7_64 and perl-doc-5.34.1-r0.corei7_64 Signed-off-by: Jeremy A. Puhlman Signed-off-by: Armin Kuster --- recipes-perl/perl/lib-perl_0.63.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes-perl/perl/lib-perl_0.63.bb b/recipes-perl/perl/lib-perl_0.63.bb index 4c964d5..25d0890 100644 --- a/recipes-perl/perl/lib-perl_0.63.bb +++ b/recipes-perl/perl/lib-perl_0.63.bb @@ -26,3 +26,10 @@ do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile } + +do_install:append() { + # Man pages here conflict wtih the main perl documentation + for page in ${D}${mandir}/man*/*; do + mv $page $(dirname $page)/${BPN}-$(basename $page) + done +} -- cgit v1.2.3-54-g00ecf