aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2018-08-26 10:34:46 +0300
committerJani Välimaa <wally@mageia.org>2018-08-26 10:34:46 +0300
commitdab02ea9e57e2744fba742e5f24d71c46ce4f086 (patch)
treeed19ff5b5761ee16cf0d07d0d8132d206a035c98
parente37eecabaa59931a6ee8eff87e6bac8bf256d4e2 (diff)
downloadspec-helper-dab02ea9e57e2744fba742e5f24d71c46ce4f086.tar
spec-helper-dab02ea9e57e2744fba742e5f24d71c46ce4f086.tar.gz
spec-helper-dab02ea9e57e2744fba742e5f24d71c46ce4f086.tar.bz2
spec-helper-dab02ea9e57e2744fba742e5f24d71c46ce4f086.tar.xz
spec-helper-dab02ea9e57e2744fba742e5f24d71c46ce4f086.zip
Clean perl stuff only from $RPM_BUILD_ROOT
-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