[packages/opencv] - disable "import check" in cmake file which conflicts with our packae split
qboosh
qboosh at pld-linux.org
Sun Dec 14 13:15:40 CET 2014
commit 7545129bc97f18ac0fccab8591a91e849e42a163
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 14 13:16:12 2014 +0100
- disable "import check" in cmake file which conflicts with our packae split
opencv.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/opencv.spec b/opencv.spec
index d4c0bd3..b18abee 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -339,6 +339,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/OpenCV/samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{
install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
cp -p build/unix-install/opencv.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
+# disable completeness check incompatible with split packaging
+%{__sed} -i -e '/^foreach(target .*IMPORT_CHECK_TARGETS/,/^endforeach/d' $RPM_BUILD_ROOT%{_datadir}/OpenCV/OpenCVModules.cmake
+
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/7545129bc97f18ac0fccab8591a91e849e42a163
More information about the pld-cvs-commit
mailing list