From dbd66d1963b826d23f7093aa771bead1fe39b3ab Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 1 Jul 2023 04:36:30 -0400 Subject: sbopkglint: test for bad files in perl builds. --- sbopkglint.d/85-perl.t.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sbopkglint.d/85-perl.t.sh (limited to 'sbopkglint.d/85-perl.t.sh') diff --git a/sbopkglint.d/85-perl.t.sh b/sbopkglint.d/85-perl.t.sh new file mode 100644 index 0000000..aba9e62 --- /dev/null +++ b/sbopkglint.d/85-perl.t.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# sbopkglint test, must be sourced by sbopkglint (not run standalone). + +# PKG, PRGNAM, VERSION, ARCH are set by sbopkglint. also the current +# directory is the root of the installed package tree. + +####################################################################### +# the SBo perl template has this line: +# find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +# this just checks that the files that are supposed to be removed, +# really are removed. + +find_warnfiles "forbidden files:" \ + -name perllocal.pod -o -name ".packlist" -o -name "*.bs" -- cgit v1.2.3