]> git.pld-linux.org Git - packages/llvm.git/commitdiff
- disable package completeness check in cmake exports file; release 2 auto/th/llvm-7.0.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 4 Dec 2018 21:01:59 +0000 (22:01 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 4 Dec 2018 21:01:59 +0000 (22:01 +0100)
llvm.spec

index dfe7c74fb6e3847c7f63f4b5e8b1b5df8d3600dc..40b13665c67cd9b0fd61ecaf481b689bd0340805 100644 (file)
--- a/llvm.spec
+++ b/llvm.spec
@@ -31,7 +31,7 @@ Summary:      The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
 Summary(pl.UTF-8):     Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
 Name:          llvm
 Version:       7.0.0
-Release:       1
+Release:       2
 License:       University of Illinois/NCSA Open Source License
 Group:         Development/Languages
 #Source0Download: http://releases.llvm.org/download.html
@@ -656,6 +656,7 @@ done
 # Get rid of erroneously installed example files.
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/LLVMHello.so
 # test?
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/TestPlugin.so
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/{c-index-test,llvm-c-test}
 # not this OS
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/clang/clang-format-bbedit.applescript
@@ -664,6 +665,9 @@ done
 # it seems it is used internally by an extra clang tool
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfindAllSymbols.a
 
+# 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/llvm/LLVMExports.cmake
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.18352 seconds and 4 git commands to generate.