aboutsummaryrefslogtreecommitdiffstats
path: root/clean_perl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-01 13:56:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-01 13:56:35 +0000
commit2ea078a3d6e502dec58a227690b8b8d3cda70496 (patch)
tree25f9d7d24bfcbb59406200d49830f527ba224a57 /clean_perl
parent73cf7586446a875bade0c4706b424ddb29d97352 (diff)
downloadspec-helper-2ea078a3d6e502dec58a227690b8b8d3cda70496.tar
spec-helper-2ea078a3d6e502dec58a227690b8b8d3cda70496.tar.gz
spec-helper-2ea078a3d6e502dec58a227690b8b8d3cda70496.tar.bz2
spec-helper-2ea078a3d6e502dec58a227690b8b8d3cda70496.tar.xz
spec-helper-2ea078a3d6e502dec58a227690b8b8d3cda70496.zip
remove file alike /usr/lib/perl5/5.8.*/i386-linux-thread-multi/perllocal.pod
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!"