[rhythmbox] Make sure to remove all .la files

Kalev Lember kalev at fedoraproject.org
Sun Apr 7 12:31:32 UTC 2013


commit 97fce4c12cc3b736eae38f53db3cbc77b7fda956
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Apr 7 13:59:51 2013 +0200

    Make sure to remove all .la files
    
    Use 'find' to remove .la files; the individual rm commands tend to get
    out of date.

 rhythmbox.spec |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/rhythmbox.spec b/rhythmbox.spec
index a50743f..080d210 100644
--- a/rhythmbox.spec
+++ b/rhythmbox.spec
@@ -95,10 +95,9 @@ make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot}
-rm -f %{buildroot}%{_libdir}/rhythmbox/plugins/*.{a,la}
-rm -f %{buildroot}%{_libdir}/rhythmbox/plugins/*/*.{a,la}
-rm -f %{buildroot}%{_libdir}/librhythmbox-core.{a,la}
-rm -f %{buildroot}%{_libdir}/mozilla/plugins/*.{a,la}
+
+# Remove libtool .la files
+find %{buildroot} -name "*.la" -type f -delete
 
 %find_lang %name --with-gnome
 


More information about the scm-commits mailing list