public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Add explicit dependencies on libs packages to satisfy rpmdeps
@ 2026-09-30  6:48 Nikita Popov
  0 siblings, 0 replies; only message in thread
From: Nikita Popov @ 2026-09-30  6:48 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : efe82017a9311890b81a4e457e5950d79140745f
            Author : Nikita Popov <npopov@redhat.com>
            Date   : 2026-09-30T06:48:29+00:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/efe82017a9311890b81a4e457e5950d79140745f?branch=rawhide

            Log:
            Add explicit dependencies on libs packages to satisfy rpmdeps

This adds some explicit dependencies on llvm-libs/mlir/clang-libs
in order to fix the following rpmdeps rpminspect warnings:

> Subpackage python3-mlir on x86_64 carries 'Requires: libLLVM.so.23.1()(64bit)' 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.

> Subpackage flang on x86_64 carries 'Requires: libLLVM.so.23.1()(64bit)' 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.

> Subpackage flang on x86_64 carries 'Requires: libMLIR.so.23.1()(64bit)' which comes from subpackage mlir but does not carry an explicit package version requirement. Please add 'Requires: mlir = %{version}-%{release}' to the spec file to avoid the need to test interoperability between various combinations of old and new subpackages.

> Subpackage flang on x86_64 carries 'Requires: libclang-cpp.so.23.1()(64bit)' which comes from subpackage clang-libs but does not carry an explicit package version requirement. Please add 'Requires: clang-libs = %{version}-%{release}' to the spec file to avoid the need to test interoperability between various combinations of old and new subpackages.

[skip changelog]

---
diff --git a/llvm.spec b/llvm.spec
index 1e1ff06..2a966b5 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1205,6 +1205,8 @@ Summary:	MLIR python bindings
 
 Requires: python%{python3_pkgversion}
 Requires: python%{python3_pkgversion}-numpy
+# Explicit dependency on llvm-libs to satisfy rpmdeps check.
+Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
 
 %description -n python%{python3_pkgversion}-mlir
 MLIR python bindings.
@@ -1338,6 +1340,10 @@ Summary: a Fortran language front-end designed for integration with LLVM
 Requires: %{pkg_name_flang}-runtime%{?_isa} = %{version}-%{release}
 # flang installs headers in the clang resource directory
 Requires: %{pkg_name_clang}-resource-filesystem%{?_isa} = %{version}-%{release}
+# Explicit dependencies on llvm-libs/clang-libs/mlir to satisfy rpmdeps check.
+Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
+Requires: %{pkg_name_clang}-libs%{?_isa} = %{version}-%{release}
+Requires: %{pkg_name_mlir}%{?_isa} = %{version}-%{release}
 # flang implicitly calls ld.bfd when linking and depends on the gcc runtime objects.
 Requires: binutils
 Requires: gcc

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-30  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30  6:48 [rpms/llvm] rawhide: Add explicit dependencies on libs packages to satisfy rpmdeps Nikita Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox