- disable cmake completeness check
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 30 Dec 2020 19:23:02 +0000 (20:23 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 30 Dec 2020 19:23:02 +0000 (20:23 +0100)
vtk.spec

index aad89df8200460d73957559f1c4eb8a346955150..5dbdccd64bdfa45b8ec92548315cbe9f43485a75 100644 (file)
--- 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
 
This page took 1.12532 seconds and 4 git commands to generate.