Install clang config file on f38
This commit is contained in:
parent
b3de0f3616
commit
3ab7b31fc7
@ -1,3 +1,3 @@
|
|||||||
# Drop the following option after debugedit adds support to DWARF-5:
|
# Drop the following option after debugedit adds support to DWARF-5:
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
|
||||||
-gdwarf-4
|
-gdwarf-4 -g0
|
||||||
|
@ -180,6 +180,11 @@ chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
|
|||||||
# populated by other packages
|
# populated by other packages
|
||||||
mkdir -p %{buildroot}%{install_libdir}/clang/%{maj_ver}/{include,lib,share}/
|
mkdir -p %{buildroot}%{install_libdir}/clang/%{maj_ver}/{include,lib,share}/
|
||||||
|
|
||||||
|
%if 0%{?fedora} == 38
|
||||||
|
# Install config file
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
|
||||||
|
mv %{SOURCE2006} %{buildroot}%{_sysconfdir}/%{name}/%{_target_platform}.cfg
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
# Add a symlink in /usr/bin to clang-format-diff
|
# Add a symlink in /usr/bin to clang-format-diff
|
||||||
|
@ -9,6 +9,7 @@ Source1006: release-keys.asc
|
|||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
Source2005: macros.%{pkg_name_clang}
|
Source2005: macros.%{pkg_name_clang}
|
||||||
%endif
|
%endif
|
||||||
|
Source2006: clang.cfg
|
||||||
|
|
||||||
Source2006: clang.cfg
|
Source2006: clang.cfg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user