!7 remove useless scriptlet

Merge pull request !7 from sherlock2010/master
This commit is contained in:
openeuler-ci-bot 2020-04-03 17:41:14 +08:00 committed by Gitee
commit c039ef8d3e
2 changed files with 5 additions and 8 deletions

View File

@ -16,7 +16,7 @@ index 5323cfe..5b4184e 100644
config.test_exec_root = os.path.join(config.clang_obj_root, 'test')
+old_llvm_tools_dir = llvm_config.config.llvm_tools_dir
+llvm_config.config.llvm_tools_dir = '/usr/lib@FEDORA_LLVM_LIB_SUFFIX@/llvm'
+llvm_config.config.llvm_tools_dir = '/usr/lib64/llvm'
llvm_config.use_default_substitutions()
+llvm_config.config.llvm_tools_dir = old_llvm_tools_dir

View File

@ -7,7 +7,7 @@
Name: clang
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 5
Release: 6
License: NCSA
Summary: An "LLVM native" C/C++/Objective-C compiler
URL: http://llvm.org
@ -111,12 +111,6 @@ mv ../%{clang_tools_srcdir} tools/extra
%build
%if 0%{?__isa_bits} == 64
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
%else
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
%endif
mkdir -p _build
cd _build
@ -255,6 +249,9 @@ false
%{python2_sitelib}/clang/
%changelog
* Fri Apr 03 2020 zhouyihang <zhouyihang1@huawei.com> - 7.0.0-6
- Remove useless scriptlet
* Thu Feb 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.0.0-5
- Add buildrequire compiler-rt