commit fba35f645ed4c3ec1fd41765993175a580cd2c91
Author: Jakub Bogusz <[email protected]>
Date:   Tue Dec 4 22:01:59 2018 +0100

    - disable package completeness check in cmake exports file; release 2

 llvm.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/llvm.spec b/llvm.spec
index dfe7c74..40b1366 100644
--- 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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/fba35f645ed4c3ec1fd41765993175a580cd2c91

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to