[packages/opencv] do not package java jni twice
glen
glen at pld-linux.org
Fri Jun 21 14:39:43 CEST 2013
commit 0e077f8dff51a10af2d63bb9e4c41524b8127525
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 15:39:34 2013 +0300
do not package java jni twice
opencv.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/opencv.spec b/opencv.spec
index 3041d17..398a8b7 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -261,6 +261,9 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libopencv_*.so
+%if %{with java}
+%exclude %{_libdir}/libopencv_java245.so
+%endif
%{_includedir}/opencv
%{_includedir}/opencv2
%{_datadir}/OpenCV/OpenCVConfig*.cmake
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/0e077f8dff51a10af2d63bb9e4c41524b8127525
More information about the pld-cvs-commit
mailing list