aboutsummaryrefslogtreecommitdiffstats
path: root/clean_perl
diff options
context:
space:
mode:
Diffstat (limited to 'clean_perl')
-rwxr-xr-xclean_perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/clean_perl b/clean_perl
index 70b0373..a2a78ac 100755
--- a/clean_perl
+++ b/clean_perl
@@ -7,6 +7,9 @@ d=$RPM_BUILD_ROOT/usr/lib/perl5
find $d -name ".packlist" | xargs rm -f
+# remove file alike /usr/lib/perl5/5.8.*/i386-linux-thread-multi/perllocal.pod
+perl -MConfig -e 'unlink "$ENV{RPM_BUILD_ROOT}$Config{installarchlib}/perllocal.pod"'
+
for i in $(find $d -name "*.bs"); do
if [ -s $i ]; then
echo "non empty *.bs file, please mail pixel@mandrakesoft.com about this!"