aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xclean_perl2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1bf1a71..a20b3e0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+ * clean perl stuff only from $RPM_BUILD_ROOT
+
2018-08-10 Martin Whitaker <martinw@mageia.org> 0.31.19
* exclude /usr/share/mga/dm from desktop files validation too
diff --git a/clean_perl b/clean_perl
index 36e54a8..b9da345 100755
--- a/clean_perl
+++ b/clean_perl
@@ -1,6 +1,6 @@
#!/bin/sh
-for d in $RPM_BUILD_ROOT/usr/lib{,64}/perl5 $RPM_BUILD_ROOT/usr/share/perl5 /usr/lib64/perl5;do
+for d in $RPM_BUILD_ROOT/usr/lib{,64}/perl5 $RPM_BUILD_ROOT/usr/share/perl5;do
[ -d $d ] || continue