Skip to content

Commit e4bb3e5

Browse files
committed
Add explicit llvm-libs dep for polly and mlir
This is to avoid rpminspect rpmdeps failures like this: > Subpackage polly on i686 carries 'Requires: libLLVM.so.19.1' which comes from subpackage llvm-libs but does not carry an explicit package version requirement. Please add 'Requires: llvm-libs = %{version}-%{release}' to the spec file to avoid the need to test interoperability between various combinations of old and new subpackages.
1 parent 5637d66 commit e4bb3e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,7 @@ The package contains the LLDB Python module.
854854
Summary: Multi-Level Intermediate Representation Overview
855855
License: Apache-2.0 WITH LLVM-exception
856856
URL: http://mlir.llvm.org
857+
Requires: %{pkg_name_llvm}-libs = %{version}-%{release}
857858

858859
%description -n %{pkg_name_mlir}
859860
The MLIR project is a novel approach to building reusable and extensible
@@ -987,6 +988,7 @@ execution profile gathered by sampling profiler, such as Linux `perf` tool.
987988
Summary: LLVM Framework for High-Level Loop and Data-Locality Optimizations
988989
License: Apache-2.0 WITH LLVM-exception
989990
URL: http://polly.llvm.org
991+
Requires: %{pkg_name_llvm}-libs = %{version}-%{release}
990992

991993
# We no longer ship polly-doc.
992994
Obsoletes: %{pkg_name_polly}-doc < 20

0 commit comments

Comments
 (0)