public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] f45: Make systemd-import-keys package archful
@ 2026-11-05 19:48 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-05 19:48 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-11-05 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 19:48 [rpms/systemd] f45: Make systemd-import-keys package archful 

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