diff --git a/libgphoto2.changes b/libgphoto2.changes index 0559fce..527f50f 100644 --- a/libgphoto2.changes +++ b/libgphoto2.changes @@ -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 diff --git a/libgphoto2.spec b/libgphoto2.spec index 0ea10c4..aab1deb 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -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