|
@@ -14,7 +14,7 @@
|
|
Summary: A C language family front-end for LLVM
|
|
Summary: A C language family front-end for LLVM
|
|
Summary(ja): LLVM の C 言語フロントエンド
|
|
Summary(ja): LLVM の C 言語フロントエンド
|
|
Name: clang
|
|
Name: clang
|
|
-Version: 12.0.1
|
|
|
|
|
|
+Version: 13.0.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: programming
|
|
Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -32,8 +32,9 @@ Source11: clang-config.h
|
|
Patch0: 0001-PATCH-clang-Reorganize-gtest-integration.patch
|
|
Patch0: 0001-PATCH-clang-Reorganize-gtest-integration.patch
|
|
Patch1: 0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
|
|
Patch1: 0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
|
|
Patch2: 0003-PATCH-clang-Don-t-install-static-libraries.patch
|
|
Patch2: 0003-PATCH-clang-Don-t-install-static-libraries.patch
|
|
-Patch3: 0004-PATCH-clang-Prefer-gcc-toolchains-with-libgcc_s.so-w.patch
|
|
|
|
-Patch5: 0006-PATCH-clang-Allow-__ieee128-as-an-alias-to-__float12.patch
|
|
|
|
|
|
+Patch3: 0001-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch
|
|
|
|
+Patch4: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
|
|
|
+Patch5: 0001-PATCH-clang-Fix-scan-build-py-executable-lookup-path.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
@@ -222,6 +223,9 @@ rm -fv %{buildroot}%{_libdir}/libclang*.a
|
|
mkdir -p %{buildroot}%{python3_sitelib}/clang/
|
|
mkdir -p %{buildroot}%{python3_sitelib}/clang/
|
|
install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
|
|
install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
|
|
|
|
|
|
|
|
+# install scanbuild-py to python sitelib.
|
|
|
|
+mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
|
|
|
|
+
|
|
mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h
|
|
mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h
|
|
install -m 0644 %{SOURCE11} %{buildroot}%{_includedir}/clang/Config/config.h
|
|
install -m 0644 %{SOURCE11} %{buildroot}%{_includedir}/clang/Config/config.h
|
|
|
|
|
|
@@ -289,16 +293,22 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files analyzer
|
|
%files analyzer
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
|
|
+%{_bindir}/analyze-build
|
|
|
|
+%{_bindir}/intercept-build
|
|
%{_bindir}/scan-build
|
|
%{_bindir}/scan-build
|
|
|
|
+%{_bindir}/scan-build-py
|
|
%{_bindir}/scan-view
|
|
%{_bindir}/scan-view
|
|
-#%{_libdir}/CheckerDependencyHandlingAnalyzerPlugin.so
|
|
|
|
-#%{_libdir}/CheckerOptionHandlingAnalyzerPlugin.so
|
|
|
|
-#%{_libdir}/SampleAnalyzerPlugin.so
|
|
|
|
%{_libexecdir}/ccc-analyzer
|
|
%{_libexecdir}/ccc-analyzer
|
|
%{_libexecdir}/c++-analyzer
|
|
%{_libexecdir}/c++-analyzer
|
|
|
|
+%{_libexecdir}/analyze-c++
|
|
|
|
+%{_libexecdir}/analyze-cc
|
|
|
|
+%{_libexecdir}/intercept-c++
|
|
|
|
+%{_libexecdir}/intercept-cc
|
|
%{_datadir}/scan-view
|
|
%{_datadir}/scan-view
|
|
%{_datadir}/scan-build
|
|
%{_datadir}/scan-build
|
|
%{_mandir}/man1/scan-build.1.*
|
|
%{_mandir}/man1/scan-build.1.*
|
|
|
|
+%{python3_sitelib}/libear
|
|
|
|
+%{python3_sitelib}/libscanbuild
|
|
|
|
|
|
%files -n python3-clang
|
|
%files -n python3-clang
|
|
%{python3_sitelib}/clang/
|
|
%{python3_sitelib}/clang/
|
|
@@ -316,12 +326,16 @@ rm -rf %{buildroot}
|
|
%{_bindir}/hmaptool
|
|
%{_bindir}/hmaptool
|
|
%{_bindir}/modularize
|
|
%{_bindir}/modularize
|
|
%{_bindir}/pp-trace
|
|
%{_bindir}/pp-trace
|
|
|
|
+%{_bindir}/run-clang-tidy
|
|
%{_datadir}/clang/clang-tidy-diff.py*
|
|
%{_datadir}/clang/clang-tidy-diff.py*
|
|
-%{_datadir}/clang/run-clang-tidy.py*
|
|
|
|
%{_datadir}/clang/run-find-all-symbols.py*
|
|
%{_datadir}/clang/run-find-all-symbols.py*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- refreshed patches.
|
|
|
|
+
|
|
* Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
|
|
* Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- refreshed patches.
|
|
- refreshed patches.
|