public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] f45: Make systemd-import-keys package archful
Date: Thu, 05 Nov 2026 19:48:52 GMT	[thread overview]
Message-ID: <179390813264.1.16596664268646855398.rpms-systemd-1e40c22dfb66@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : f45
            Commit : 1e40c22dfb667681170b39e342d9d3c16f9412c5
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-11-05T14:59:13+01:00
            Stats  : +0/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/1e40c22dfb667681170b39e342d9d3c16f9412c5?branch=f45

            Log:
            Make systemd-import-keys package archful

As reported in https://github.com/rpm-software-management/dnf5/pull/3029:
> When a package has no installed version, 'dnf install foo' only adds
> obsoleters of the latest version of 'foo' to the install job. The
> latest version is picked per architecture, though. On x86_64, an
> older i686 build of 'foo' counts as the latest i686 version, its
> obsoleters are added, and the solver can install one of them instead
> of 'foo', without an error.
>
> Fedora 44 hits this with locally built systemd packages: the updates
> repository has systemd-container-259.10 for x86_64 and i686, and the
> new systemd-import-keys subpackage has
> 'Obsoletes: systemd-container < 262~rc3-2'.
> 'dnf install systemd-container' installs only systemd-import-keys.

As a workaround, make the subpackage archful. It's tiny, so this
should be OK.

---
diff --git a/systemd.spec b/systemd.spec
index e026f5c..73a2576 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -647,7 +647,6 @@ This package contains the signed version.
 
 %package import-keys
 Summary:        GPG keys for verifying systemd image imports
-BuildArch:      noarch
 License:        LGPL-2.1-or-later
 # self-obsoletes after package split
 Obsoletes:      systemd-container < 262~rc3-2

                 reply	other threads:[~2026-11-05 19: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=179390813264.1.16596664268646855398.rpms-systemd-1e40c22dfb66@fedoraproject.org \
    --to=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