public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikita Popov <npopov@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Add explicit dependencies on libs packages to satisfy rpmdeps
Date: Wed, 30 Sep 2026 06:48:43 GMT	[thread overview]
Message-ID: <179075092376.1.8064396311365427889.rpms-llvm-efe82017a931@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-30  6:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179075092376.1.8064396311365427889.rpms-llvm-efe82017a931@fedoraproject.org \
    --to=npopov@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox