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:
commit
82260bb1aa
@ -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
|
Sun Jan 18 21:45:22 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libgphoto2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -128,6 +128,12 @@ make check
|
|||||||
# skip-check-libtool-deps
|
# skip-check-libtool-deps
|
||||||
export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
|
export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
|
||||||
%makeinstall
|
%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-%{major}
|
||||||
%{find_lang} libgphoto2_port-12
|
%{find_lang} libgphoto2_port-12
|
||||||
cat libgphoto2-%{major}.lang libgphoto2_port-12.lang > libgphoto2-all.lang
|
cat libgphoto2-%{major}.lang libgphoto2_port-12.lang > libgphoto2-all.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user