Accepting request 282810 from graphics

- remove all the .la files, improves startup time.

OBS-URL: https://build.opensuse.org/request/show/282810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgphoto2?expand=0&rev=98
This commit is contained in:
Dominique Leuenberger 2015-01-27 08:08:47 +00:00 committed by Git OBS Bridge
commit 82260bb1aa
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 25 18:22:27 UTC 2015 - meissner@suse.com
- remove all the .la files, improves startup time.
-------------------------------------------------------------------
Sun Jan 18 21:45:22 UTC 2015 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libgphoto2
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -128,6 +128,12 @@ make check
# skip-check-libtool-deps
export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
%makeinstall
# .la files are not needed
rm $RPM_BUILD_ROOT/%_libdir/*.la
rm $RPM_BUILD_ROOT/%_libdir/libgphoto2/%version/*.la
rm $RPM_BUILD_ROOT/%_libdir/libgphoto2_port/0.12.0/*.la
%{find_lang} libgphoto2-%{major}
%{find_lang} libgphoto2_port-12
cat libgphoto2-%{major}.lang libgphoto2_port-12.lang > libgphoto2-all.lang