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
@ -3178,4 +3182,4 @@ fi
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100 * Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
- initial version using cmake build system - initial version using cmake build system
#endregion changelog #endregion changelog