diff --git a/libgphoto2.changes b/libgphoto2.changes index e12f3a0..5fa05b6 100644 --- a/libgphoto2.changes +++ b/libgphoto2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 21 18:18:24 UTC 2012 - jengelh@inai.de + +- Parallel build with %_smp_mflags +- .la files for plugins are useless - remove them + ------------------------------------------------------------------- Thu Sep 13 08:45:14 UTC 2012 - meissner@suse.com diff --git a/libgphoto2.spec b/libgphoto2.spec index 4092d10..75a8ab1 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -85,7 +85,7 @@ PATH="/usr/X11R6/bin:$PATH" \ --with-doc-dir=%{_defaultdocdir}/%{name} \ --without-hal \ --with-drivers=all -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %check make check @@ -113,15 +113,10 @@ mv doc/doxygen-output/libgphoto2-api.html apidocs fn=$RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libgphoto2_port.pc grep -v driverdir= $fn > $fn.new mv $fn.new $fn -# These two should not be required, but the driver .la can stay -rm $RPM_BUILD_ROOT/%{_libdir}/libgphoto2.la -rm $RPM_BUILD_ROOT/%{_libdir}/libgphoto2_port.la +find "%buildroot/%_libdir" -type f -name "*.la" -delete %fdupes $RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %{_libdir}/libgphoto2