[perl-Algorithm-SVM: 6/9] Stop needlessly removing the empty dirs from the buildroot

Mathieu Bridon bochecha at fedoraproject.org
Thu Sep 20 02:47:05 UTC 2012


commit 9f8927b4e22d920783228662a0e836af1b54121c
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Wed Sep 19 10:31:10 2012 +0800

    Stop needlessly removing the empty dirs from the buildroot

 perl-Algorithm-SVM.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-Algorithm-SVM.spec b/perl-Algorithm-SVM.spec
index 1a18aae..e0034cc 100644
--- a/perl-Algorithm-SVM.spec
+++ b/perl-Algorithm-SVM.spec
@@ -51,7 +51,6 @@ make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
@@ -72,6 +71,7 @@ make test
   - Fix typo 'classifcation' in the package description.
   - Filter the private library out of provides.
   - Add missing build requirements for the unit tests.
+  - Stop needlessly removing the empty dirs from the buildroot.
 
 * Tue Aug 21 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 0.13-1
 - Initial package, with help from cpanspec.



More information about the perl-devel mailing list