[packages/libraw] - explicit demosaic packs paths to avoid scanning whole rpm/BUILD dir by configure - restored soname

qboosh qboosh at pld-linux.org
Mon Jan 6 16:12:32 CET 2014


commit ecc40057d08aa9d5e7a4b4708b36c34d5e1edafd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 6 16:13:10 2014 +0100

    - explicit demosaic packs paths to avoid scanning whole rpm/BUILD dir by configure
    - restored soname tracking (there WAS soname change between 0.14.7 and 0.15.4)

 libraw.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/libraw.spec b/libraw.spec
index 866bd55..2844a2a 100644
--- a/libraw.spec
+++ b/libraw.spec
@@ -111,6 +111,8 @@ done
 
 %build
 %configure \
+	--enable-demosaic-pack-gpl2=%{?with_gpl2:LibRaw-demosaic-pack-GPL2-%{version}}%{!?with_gpl2:no} \
+	--enable-demosaic-pack-gpl3=%{?with_gpl3:LibRaw-demosaic-pack-GPL3-%{version}}%{!?with_gpl3:no} \
 	%{!?with_gomp:--disable-openmp}
 
 %{__make} \
@@ -135,10 +137,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc COPYRIGHT Changelog.txt LICENSE.LibRaw.pdf README README.demosaic-packs %{?with_gpl2:*.demosaic-pack-GPL2} %{?with_gpl3:*.demosaic-pack-GPL3}
 %lang(ru) %doc Changelog.rus README.demosaic-packs.rus
-%attr(755,root,root) %ghost %{_libdir}/libraw.so.?
-%attr(755,root,root) %{_libdir}/libraw.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libraw_r.so.?
-%attr(755,root,root) %{_libdir}/libraw_r.so.*.*
+%attr(755,root,root) %{_libdir}/libraw.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libraw.so.9
+%attr(755,root,root) %{_libdir}/libraw_r.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libraw_r.so.9
 
 %files samples
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libraw.git/commitdiff/ecc40057d08aa9d5e7a4b4708b36c34d5e1edafd



More information about the pld-cvs-commit mailing list