Silence some rpmlint errors

This commit is contained in:
Tom Stellard 2021-02-10 05:48:42 -08:00
parent efa9dd65f1
commit 56d54b9e15
2 changed files with 7 additions and 1 deletions

3
clang.rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
# clang needs libstdc++-devel installed in order to compile c++ programs.
addFilter("E: devel-dependency libstdc\+\+-devel")
addFilter("E: explicit-lib-dependency libstdc\+\+-devel")

View File

@ -290,7 +290,9 @@ pathfix.py -i %{__python3} -pn \
tools/clang-format/*.py \
tools/clang-format/git-clang-format \
utils/hmaptool/hmaptool \
tools/scan-view/bin/scan-view
tools/scan-view/bin/scan-view \
tools/scan-view/share/Reporter.py \
tools/scan-view/share/startfile.py
%endif
%build
@ -425,6 +427,7 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
# Fix permission
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
chmod a+x %{buildroot}%{_datadir}/scan-view/{Reporter.py,startfile.py}
# create a link to clang's resource directory that is "constant" across minor
# version bumps