From ba62c03f9db88ad134dfe0af7d5b5ea5df58cca2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 12 Sep 2022 13:20:46 +0200 Subject: [PATCH] Add explicit requires from mlir-devel to mlir The mlir-devel package depends on versioned SOs from mlir. Make sure the versions are the same. This should fix the rpmdeps failure. --- mlir.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mlir.spec b/mlir.spec index 015cdd4..cc3c938 100644 --- a/mlir.spec +++ b/mlir.spec @@ -7,7 +7,7 @@ Name: mlir Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multi-Level Intermediate Representation Overview License: Apache-2.0 WITH LLVM-exception @@ -43,6 +43,7 @@ MLIR static files. %package devel Summary: MLIR development files +Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-static%{?_isa} = %{version}-%{release} %description devel @@ -107,6 +108,9 @@ export LD_LIBRARY_PATH=%{_builddir}/%{mlir_srcdir}/%{name}/%{_build}/%{_lib} %{_libdir}/cmake/mlir %changelog +* Mon Sep 12 2022 Nikita Popov - 15.0.0-2 +- Add explicit requires from mlir-devel to mlir + * Tue Sep 06 2022 Nikita Popov - 15.0.0-1 - Update to LLVM 15.0.0