remove duplicate files and add Requires
This commit is contained in:
parent
8dcd305989
commit
f6378debba
19
clang.spec
19
clang.spec
@ -37,7 +37,7 @@
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: %{clang_version}
|
||||
Release: 18
|
||||
Release: 19
|
||||
Summary: A C language family front-end for LLVM
|
||||
|
||||
License: NCSA
|
||||
@ -112,6 +112,7 @@ BuildRequires: perl(Text::ParseWords)
|
||||
BuildRequires: perl(Sys::Hostname)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
|
||||
|
||||
Requires: libstdc++-devel
|
||||
# Require gcc libs installed during rumtime
|
||||
@ -161,6 +162,12 @@ Provides: %{name}-resource-filesystem(major) = %{maj_ver}
|
||||
%description resource-filesystem
|
||||
This package owns the clang resouce directory: $libdir/clang/$version/
|
||||
|
||||
%package help
|
||||
Summary: Help manual for %{name}
|
||||
|
||||
%description help
|
||||
The %{name}-help package contains mannual etc
|
||||
|
||||
|
||||
%package analyzer
|
||||
Summary: A source code analysis framework
|
||||
@ -306,7 +313,6 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
||||
%{install_bindir}/clang-%{maj_ver}
|
||||
%{install_bindir}/clang-cl
|
||||
%{install_bindir}/clang-cpp
|
||||
%{install_prefix}/share/man/man1/*
|
||||
%if %{with classic_flang}
|
||||
%{install_bindir}/flang
|
||||
%endif
|
||||
@ -330,6 +336,10 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
||||
%dir %{install_libdir}/clang/%{maj_ver}/share/
|
||||
%dir %{install_libdir}/clang/
|
||||
|
||||
%files help
|
||||
%{_mandir}/man1/clang.1.gz
|
||||
%{_mandir}/man1/diagtool.1.gz
|
||||
|
||||
%files analyzer
|
||||
%{install_libexecdir}/ccc-analyzer
|
||||
%{install_libexecdir}/c++-analyzer
|
||||
@ -342,7 +352,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
||||
%{install_bindir}/analyze-build
|
||||
%{install_bindir}/intercept-build
|
||||
%{install_bindir}/scan-build-py
|
||||
%{install_prefix}/share/man/man1/*
|
||||
%{_mandir}/man1/scan-build.1.*
|
||||
%{install_libdir}/libear
|
||||
%{install_libdir}/libscanbuild
|
||||
%{install_sharedir}/scan-view
|
||||
@ -397,6 +407,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
||||
%{install_bindir}/git-clang-format
|
||||
|
||||
%changelog
|
||||
* Tue Nov 05 2024 zhangnan <zhangnan134@huawei.com> - 17.0.6-19
|
||||
- remove duplicate files and add Requires and add help package
|
||||
|
||||
* Thu Sep 05 2024 Zhao Mengmeng <zhaomengmeng@kylinos.cn> - 17.0.6-18
|
||||
- Fix the too-early instantiation of conditional "explict" by applying the patch
|
||||
of https://github.com/llvm/llvm-project/commit/128b3b61fe6768c724975fd1df2be0abec848cf6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user