From 5d65390bed6acbf1f02eaed471b628f41a8de727 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 26 Jun 2024 09:37:20 +0200 Subject: [PATCH] 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). --- install.spec.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.spec.inc b/install.spec.inc index f97a81b..398909b 100644 --- a/install.spec.inc +++ b/install.spec.inc @@ -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