Skip to contentSkip to conversation

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

PATCH New J. S. 1 participant 2 messages Oct 28, 2024

lore
Share & tools
lore

J. S.

author
#0 lore raw

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

---
 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)
meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb +7 -0
index f07019660..7bdebcd37 100644
@@ -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
#1 lore raw

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

---
 .../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