[sysusage] Try fixing perl.

Christopher Meng cicku at fedoraproject.org
Tue Aug 6 05:36:14 UTC 2013


commit 7ab4e969da3719029634481dbe0a7c90ac7d9bf5
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue Aug 6 13:35:45 2013 +0800

    Try fixing perl.

 sysusage.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sysusage.spec b/sysusage.spec
index 815b0a8..11054c4 100644
--- a/sysusage.spec
+++ b/sysusage.spec
@@ -86,8 +86,8 @@ install -pDm644 doc/%{name}.1 \
     %{buildroot}%{_mandir}/man1/%{name}.1
 
 # Remove redundant files.
-rm -f `find %{buildroot}/%{_libdir}/perl*/ -name perllocal.pod -type f`
-rm -f `find %{buildroot}/%{_libdir}/perl*/ -name .packlist -type f`
+find %{buildroot} -name perllocal.pod -type f -delete
+find %{buildroot} -name .packlist -type f -delete
 
 %files
 %doc ChangeLog LICENSE README TODO


More information about the scm-commits mailing list