From 9bfb2774ee5b40164ef1f148e0b88385931f2a93 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Fri, 27 Jan 2023 15:50:58 +0100 Subject: [PATCH] Revert "Add clang-tools-extra-devel package" This reverts commit 6a1c760e8d9744d2ddc3281abe29b66ee5e0d092. Resolves: rhbz#2118567 --- clang.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/clang.spec b/clang.spec index cc57c6d..dc29607 100644 --- a/clang.spec +++ b/clang.spec @@ -45,7 +45,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -243,13 +243,6 @@ Requires: emacs-filesystem %description tools-extra A set of extra tools built using Clang's tooling API. -%package tools-extra-devel -Summary: Development header files for clang tools -Requires: %{name}-tools-extra = %{version}-%{release} - -%description tools-extra-devel -Development header files for clang tools. - # Put git-clang-format in its own package, because it Requires git # and we don't want to force users to install all those dependenices if they # just want clang. @@ -518,6 +511,9 @@ popd mkdir -p %{buildroot}%{pkg_libdir}/clang/%{version}/{include,lib,share}/ +# Remove clang-tidy headers. We don't ship the libraries for these. +rm -Rvf %{buildroot}%{_includedir}/clang-tidy/ + %if %{without compat_build} # Add a symlink in /usr/bin to clang-format-diff ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format-diff @@ -674,9 +670,6 @@ mv ./libclang-cpp.so.%{compat_maj_ver} "$compat_lib" %{_datadir}/clang/run-find-all-symbols.py* %{_datadir}/clang/clang-rename.py* -%files tools-extra-devel -%{_includedir}/clang-tidy/ - %files -n git-clang-format %{_bindir}/git-clang-format @@ -686,6 +679,9 @@ mv ./libclang-cpp.so.%{compat_maj_ver} "$compat_lib" %endif %changelog +* Fri Jan 27 2023 Konrad Kleine - 15.0.7-3 +- Remove clang-tools-extra-devel package + * Mon Jan 16 2023 Konrad Kleine - 15.0.7-2 - Update to 15.0.7