!36 clang delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @jvmboy Signed-off-by: @jvmboy
This commit is contained in:
commit
dadcd6b18f
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: clang
|
Name: clang
|
||||||
Version: 10.0.1
|
Version: 10.0.1
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPL-2.0-only and Apache-2.0 and MIT
|
License: GPL-2.0-only and Apache-2.0 and MIT
|
||||||
Summary: An "LLVM native" C/C++/Objective-C compiler
|
Summary: An "LLVM native" C/C++/Objective-C compiler
|
||||||
URL: http://llvm.org
|
URL: http://llvm.org
|
||||||
@ -18,7 +18,7 @@ Patch0000: 0001-lit.cfg-Add-hack-so-lit-can-find-not-and-FileCheck.patch
|
|||||||
Patch0001: 0001-GCC-compatibility-Ignore-fstack-clash-protection.patch
|
Patch0001: 0001-GCC-compatibility-Ignore-fstack-clash-protection.patch
|
||||||
Patch0002: 0001-gtest-reorg.patch
|
Patch0002: 0001-gtest-reorg.patch
|
||||||
|
|
||||||
BuildRequires: cmake gcc-c++ python-sphinx git
|
BuildRequires: cmake gcc-c++ python-sphinx
|
||||||
BuildRequires: llvm-devel = %{version}
|
BuildRequires: llvm-devel = %{version}
|
||||||
BuildRequires: compiler-rt = %{version}
|
BuildRequires: compiler-rt = %{version}
|
||||||
BuildRequires: llvm-static = %{version}
|
BuildRequires: llvm-static = %{version}
|
||||||
@ -87,7 +87,7 @@ clang-format integration for git.
|
|||||||
pathfix.py -i %{__python3} -pn \
|
pathfix.py -i %{__python3} -pn \
|
||||||
clang-tidy/tool/*.py
|
clang-tidy/tool/*.py
|
||||||
|
|
||||||
%autosetup -n %{clang_srcdir} -p1 -Sgit
|
%autosetup -n %{clang_srcdir} -p1
|
||||||
pathfix.py -i %{__python3} -pn \
|
pathfix.py -i %{__python3} -pn \
|
||||||
tools/clang-format/*.py \
|
tools/clang-format/*.py \
|
||||||
tools/clang-format/git-clang-format \
|
tools/clang-format/git-clang-format \
|
||||||
@ -240,6 +240,9 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
|||||||
%{_bindir}/git-clang-format
|
%{_bindir}/git-clang-format
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 10.0.1-5
|
||||||
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Fri Apr 30 2021 licihua <licihua@huawei.com> - 10.0.1-4
|
* Fri Apr 30 2021 licihua <licihua@huawei.com> - 10.0.1-4
|
||||||
- Reduce build time.
|
- Reduce build time.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user