From cb61696a3bde97ce626feff5f86154e2cb6d1a3b Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Wed, 5 Jan 2022 17:22:30 +0800 Subject: [PATCH] add low version dynamic library --- clang.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/clang.spec b/clang.spec index 89a4cde..a92e60d 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 -- Gitee