[mate-panel] only delete the important .la files

Rex Dieter rdieter at fedoraproject.org
Tue Nov 27 21:02:56 UTC 2012


commit 3dbcc28bbf6165583c77daadffac5b768e6944dd
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Tue Nov 27 15:00:29 2012 -0600

    only delete the important .la files

 mate-panel.spec |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/mate-panel.spec b/mate-panel.spec
index 63f3a64..812b488 100644
--- a/mate-panel.spec
+++ b/mate-panel.spec
@@ -76,8 +76,7 @@ make  %{?_smp_mflags} V=1
 %install
 make DESTDIR=%{buildroot} install
 
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
-find %{buildroot} -name '*.a' -exec rm -f {} ';'
+rm -fv %{buildroot}%{_libdir}/lib*.la
 
 desktop-file-install \
         --remove-category="MATE" \


More information about the scm-commits mailing list