Remove HTML asset files from /usr/share/clang-doc

In https://github.com/fedora-llvm-team/llvm-snapshots/issues/564#issuecomment-2191023635
we noticed that `clang-doc-default-stylesheet.css` and `index.js` are no
longer installed to `/usr/share/clang` but `/usr/share/clang-doc`
instead. This addresses the [change in upstream](https://github.com/llvm/llvm-project/pull/96555).
This commit is contained in:
Konrad Kleine 2024-06-26 09:37:20 +02:00 committed by Timm Bäder
parent 102959aa2f
commit 5d65390bed

View File

@ -160,8 +160,8 @@ rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
# TODO: Package html docs
rm -Rvf %{buildroot}%{_docdir}/LLVM/clang/html
rm -Rvf %{buildroot}%{_docdir}/LLVM/clang-tools/html
rm -Rvf %{buildroot}%{_datadir}/clang/clang-doc-default-stylesheet.css
rm -Rvf %{buildroot}%{_datadir}/clang/index.js
rm -Rvf %{buildroot}%{_datadir}/clang-doc/clang-doc-default-stylesheet.css
rm -Rvf %{buildroot}%{_datadir}/clang-doc/index.js
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh