From baf115a7fbbd46bd83b308a63c819f9e64e948d9 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 4 Oct 2024 09:50:27 +0200 Subject: [PATCH] Add provides for libomp(major) and libomp-devel(major) Forward-port from https://src.fedoraproject.org/rpms/libomp18/pull-request/1. --- llvm.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 969ef28..127e333 100644 --- a/llvm.spec +++ b/llvm.spec @@ -587,6 +587,8 @@ URL: http://openmp.llvm.org Requires: elfutils-libelf%{?isa} +Provides: libomp(major) = %{maj_ver} + %description -n %{pkg_name_libomp} OpenMP runtime for clang. @@ -598,6 +600,8 @@ URL: http://openmp.llvm.org Requires: %{name}%{?isa} = %{version}-%{release} Requires: clang-resource-filesystem%{?isa} = %{version} +Provides: libomp-devel(major) = %{maj_ver} + %description -n %{pkg_name_libomp}-devel OpenMP header files. URL: http://openmp.llvm.org @@ -3178,4 +3182,4 @@ fi * Tue Oct 06 2015 Jan Vcelak 3.7.0-100 - initial version using cmake build system -#endregion changelog \ No newline at end of file +#endregion changelog