Add explicit requires from libomp-devel to libomp

Now that we have version-dependent symlinks, we need to require
a libomp package of matching version.

This should resolve the rpmdeps failure.
This commit is contained in:
Nikita Popov 2022-09-12 12:26:48 +02:00
parent 2ffdde118e
commit be18e34a28

View file

@ -14,7 +14,7 @@
Name: libomp Name: libomp
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}} Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist} Release: 2%{?dist}
Summary: OpenMP runtime for clang Summary: OpenMP runtime for clang
License: NCSA License: NCSA
@ -52,6 +52,7 @@ OpenMP runtime for clang.
%package devel %package devel
Summary: OpenMP header files Summary: OpenMP header files
Requires: %{name}%{?isa} = %{version}-%{release}
Requires: clang-resource-filesystem%{?isa} = %{version} Requires: clang-resource-filesystem%{?isa} = %{version}
%description devel %description devel
@ -162,6 +163,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libexecdir}/tests/libomp/ %{_libexecdir}/tests/libomp/
%changelog %changelog
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
- Add explicit requires from libomp-devel to libomp
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1 * Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
- Update to LLVM 15.0.0 - Update to LLVM 15.0.0