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.
This commit is contained in:
parent
c6efbc64f5
commit
3e80ce0ab2
@ -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 {} ';'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user