From 3e80ce0ab2e246fd300f590abe097d4350a4987c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 9 Oct 2014 16:48:45 +0200 Subject: [PATCH] Remove duplicated code in %install .la files are removed twice in different ways, and %find_lang %{name} --with-gnome is called twice too. There are no .a files generated during the build. so we don't need to make sure we clean them up as was done by the removed code. --- totem.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/totem.spec b/totem.spec index a8ae7a8..0b0d609 100644 --- a/totem.spec +++ b/totem.spec @@ -143,15 +143,6 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %find_lang %{name} --with-gnome -rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \ - $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.{a,la} \ - $RPM_BUILD_ROOT%{_libdir}/libbaconvideowidget*.{a,la} \ - $RPM_BUILD_ROOT%{_libdir}/libbaconvideowidget.so \ - $RPM_BUILD_ROOT%{_libdir}/totem/plugins/bemused/ \ - $RPM_BUILD_ROOT%{_libdir}/totem/plugins/mythtv/ - -%find_lang %{name} --with-gnome - #nuke the .la file(s) find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'