Add provides for libomp(major) and libomp-devel(major)

Forward-port from
https://src.fedoraproject.org/rpms/libomp18/pull-request/1.
This commit is contained in:
Nikita Popov 2024-10-04 09:50:27 +02:00
parent 4251de274b
commit 836ee0844f

View file

@ -587,6 +587,8 @@ URL: http://openmp.llvm.org
Requires: elfutils-libelf%{?isa} Requires: elfutils-libelf%{?isa}
Provides: libomp(major) = %{maj_ver}
%description -n %{pkg_name_libomp} %description -n %{pkg_name_libomp}
OpenMP runtime for clang. OpenMP runtime for clang.
@ -598,6 +600,8 @@ URL: http://openmp.llvm.org
Requires: %{name}%{?isa} = %{version}-%{release} Requires: %{name}%{?isa} = %{version}-%{release}
Requires: clang-resource-filesystem%{?isa} = %{version} Requires: clang-resource-filesystem%{?isa} = %{version}
Provides: libomp-devel(major) = %{maj_ver}
%description -n %{pkg_name_libomp}-devel %description -n %{pkg_name_libomp}-devel
OpenMP header files. OpenMP header files.
URL: http://openmp.llvm.org URL: http://openmp.llvm.org