[perl-PPI/el5] Don't need to remove empty directories from buildroot

Paul Howarth pghmcfc at fedoraproject.org
Sun Mar 18 12:43:54 UTC 2012


commit c7f225080aced04b5a976d9568db7099dfeca8b9
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Mar 18 12:34:29 2012 +0000

    Don't need to remove empty directories from buildroot

 perl-PPI.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-PPI.spec b/perl-PPI.spec
index f5f6c08..274abba 100644
--- a/perl-PPI.spec
+++ b/perl-PPI.spec
@@ -41,7 +41,6 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
@@ -63,6 +62,7 @@ rm -rf $RPM_BUILD_ROOT
 - Re-code docs as UTF-8
 - Don't use macros for commands
 - Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't need to remove empty directories from buildroot
 
 * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.201-1
 - bump to 1.201



More information about the perl-devel mailing list