commit 186c34600d42c5d59b1779879858b271b2fd21be
Author: Jakub Bogusz <[email protected]>
Date: Wed Dec 30 20:23:02 2020 +0100
- disable cmake completeness check
vtk.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/vtk.spec b/vtk.spec
index aad89df..5dbdccd 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -444,6 +444,9 @@ install -d
$RPM_BUILD_ROOT{%{_sysconfdir}/ld.so.conf.d,%{_examplesdir}/%{name}-%
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
+# disable completeness check incompatible with split packaging
+%{__sed} -i -e '/^foreach(target .*IMPORT_CHECK_TARGETS/,/^endforeach/d;
/^unset(_IMPORT_CHECK_TARGETS)/d'
$RPM_BUILD_ROOT%{_libdir}/cmake/vtk/VTKTargets.cmake
+
# ld config
echo %{_libdir}/vtk >
$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/186c34600d42c5d59b1779879858b271b2fd21be
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit