Install clang config file on f38

This commit is contained in:
Tom Stellard 2024-04-02 00:31:38 +00:00 committed by Timm Bäder
parent b3de0f3616
commit 3ab7b31fc7
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,3 @@
# Drop the following option after debugedit adds support to DWARF-5:
# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
-gdwarf-4
-gdwarf-4 -g0

View file

@ -180,6 +180,11 @@ chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
# populated by other packages
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}
# Add a symlink in /usr/bin to clang-format-diff

View file

@ -9,6 +9,7 @@ Source1006: release-keys.asc
%if %{without compat_build}
Source2005: macros.%{pkg_name_clang}
%endif
Source2006: clang.cfg
Source2006: clang.cfg