diff --git a/clang.spec b/clang.spec index 89a4cdee9ee8e3d51adbfec1133f0698781e4f6a..a92e60d0a6b39a4bc6462942365f3a5d1e5c4c3a 100644 --- a/clang.spec +++ b/clang.spec @@ -6,7 +6,7 @@ Name: clang Version: 12.0.1 -Release: 1 +Release: 2 License: GPL-2.0-only and Apache-2.0 and MIT Summary: An "LLVM native" C/C++/Objective-C compiler URL: http://llvm.org @@ -19,7 +19,8 @@ BuildRequires: llvm-devel = %{version} BuildRequires: llvm-static = %{version} BuildRequires: llvm-googletest = %{version} BuildRequires: libxml2-devel perl-generators ncurses-devel emacs libatomic -BuildRequires: python3-lit python3-sphinx python3-devel +BuildRequires: python3-lit python3-sphinx python3-devel +BuildRequires: clang Requires: libstdc++-devel gcc-c++ emacs-filesystem @@ -171,6 +172,9 @@ rm -Rvf %{buildroot}%{_includedir}/clang-tidy/ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver} +cp -p %{_libdir}/libclang*so.10 %{buildroot}%{_libdir} +cp -p %{_libdir}/libfindAllSymbols.so.10 %{buildroot}%{_libdir} + %check # Checking is disabled because we don't pack libLLVMTestingSupport.a, which makes # standalone build of clang impossible. @@ -266,8 +270,10 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver} %{_bindir}/git-clang-format %changelog +* Wed Jan 05 2022 panxiaohe - 12.0.1-2 +- add low version dynamic library + * Wed Dec 29 2021 panxiaohe - 12.0.1-1 -- update to 12.0.1 - add clang-resource-filesystem sub-package * Tue Sep 07 2021 chenchen - 10.0.1-5