Skip to contentSkip to conversation

libhtml-tree-perl: fix QA Issue: TMPDIR [buildpaths]

PATCH Superseded J. S. 1 participant 2 messages Oct 28, 2024 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

J. S.

author
#1 lore raw

PATCH 1/2 libhtml-tree-perl: fix QA Issue: TMPDIR [buildpaths]

---
 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb +8 -1
index f07019660..b9099fc57 100644
@@ -6,7 +6,7 @@ libwww-perl distribution, but are now unbundled in order to facilitate \
 a separate development track."
 SECTION = "libs"
 
-HOMEPAGE = "https://metacpan.org/release/CJM/HTML-Tree-5.03/source/README"
+HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
 
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
@@ -25,6 +25,13 @@ export PERL_USE_UNSAFE_INC = "1"
 DEPENDS += "libmodule-build-perl-native \
 "
 
+do_install:append() {
+  sed -i \
+    -e 's|${TMPDIR}||g' \
+    `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \
+    `find ${D}/usr/lib/perl5 -type f -name .packlist`
+}
+
 RPROVIDES:${PN} = " libhtml-element-perl \
     libhtml-tree-assubs-perl \
     libhtml-tree-perl \
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 2/2 libmodule-build-tiny-perl: fix QA Issue: TMPDIR [buildpaths]

In reply to a message not in the archive
---
 .../libmodule/libmodule-build-tiny-perl_0.048.bb           | 7 +++++++
 1 file changed, 7 insertions(+)
meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb +7 -0
index a662b4540..bab9c5c95 100644
@@ -21,6 +21,13 @@ S = "${WORKDIR}/Module-Build-Tiny-${PV}"
 
 inherit cpan_build ptest-perl
 
+do_install:append() {
+  sed -i \
+    -e 's|${TMPDIR}||g' \
+    `find ${D}/usr/lib/perl5 -type f -name .packlist`
+}
+
+
 RDEPENDS:${PN} += " \
     libextutils-config-perl \
     libextutils-helpers-perl \
Signature · 1 line
2.43.0