[packages/spirv-tools] - disable cmake completeness check; release 2

qboosh qboosh at pld-linux.org
Mon Jun 27 06:28:05 CEST 2022


commit d37414a4fa013e2691334575609c1f320116dc47
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 27 06:29:23 2022 +0200

    - disable cmake completeness check; release 2

 spirv-tools.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/spirv-tools.spec b/spirv-tools.spec
index 6da09c2..4c1a735 100644
--- a/spirv-tools.spec
+++ b/spirv-tools.spec
@@ -2,7 +2,7 @@ Summary:	Khronos SPIR-V Tools
 Summary(pl.UTF-8):	Narzędzia SPIR-V z projektu Khronos
 Name:		spirv-tools
 Version:	2022.2
-Release:	1
+Release:	2
 Epoch:		1
 License:	Apache v2.0
 Group:		Development/Tools
@@ -102,6 +102,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# disable completeness check incompatible with llvm split packaging
+%{__sed} -i -e '/^foreach(target .*IMPORT_CHECK_TARGETS/,/^endforeach/d; /^unset(_IMPORT_CHECK_TARGETS)/d' \
+	$RPM_BUILD_ROOT%{_libdir}/cmake/SPIRV-Tools*/SPIRV-Tools*Target*.cmake
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spirv-tools.git/commitdiff/d37414a4fa013e2691334575609c1f320116dc47



More information about the pld-cvs-commit mailing list