From d77a012eb7bda338aaede2374e8b1cffb9c3de5b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 25 Jul 2024 12:05:10 +0000 Subject: [PATCH] Fix clang(major) provides From: https://src.fedoraproject.org/rpms/clang/c/46db6738a319f00582e266d08b225e6673a887bc?branch=rawhide From: https://src.fedoraproject.org/rpms/clang/c/ffe2656114e7524f8b1fc018dc9f93e8b2a9780c?branch=rawhide --- packages.spec.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages.spec.inc b/packages.spec.inc index 2f09afc..9b6b404 100644 --- a/packages.spec.inc +++ b/packages.spec.inc @@ -154,6 +154,7 @@ Requires: %{pkg_name_clang}-libs = %{version}-%{release} Requires: %{pkg_name_clang}%{?_isa} = %{version}-%{release} # The clang CMake files reference tools from clang-tools-extra. Requires: %{pkg_name_clang}-tools-extra%{?_isa} = %{version}-%{release} +Provides: clang-devel(major) = %{maj_ver} %endif %description -n %{pkg_name_clang}-devel @@ -161,7 +162,7 @@ Development header files for clang. %package -n %{pkg_name_clang}-resource-filesystem Summary: Filesystem package that owns the clang resource directory -Provides: %{pkg_name_clang}-resource-filesystem(major) = %{maj_ver} +Provides: clang-resource-filesystem(major) = %{maj_ver} %description -n %{pkg_name_clang}-resource-filesystem This package owns the clang resouce directory: $libdir/clang/$version/