public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Restore explicit requires for Centos Stream 9 and 10
Date: Mon, 06 Jul 2026 20:11:35 GMT [thread overview]
Message-ID: <178336869580.1.8081138329900349669.rpms-systemd-2d6fd95c709f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/systemd
Branch : rawhide
Commit : 2d6fd95c709f109ad92d42626de40c770a6ea9f7
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-07-06T22:11:19+02:00
Stats : +43/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/systemd/c/2d6fd95c709f109ad92d42626de40c770a6ea9f7?branch=rawhide
Log:
Restore explicit requires for Centos Stream 9 and 10
It seems that CI VMs don't boot without this.
[skip changelog]
---
diff --git a/systemd.spec b/systemd.spec
index f45408e..e766080 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -175,7 +175,7 @@ BuildRequires: cryptsetup-devel
BuildRequires: systemd-rpm-macros
%endif
-%if 0%{?rhel} == 0
+%if 0%{?rhel} <= 10
# Use dlopen-notes to generate Requires/Recommends from embedded metadata.
# Currently, package-notes are not available on Centos Stream 9 or 10.
BuildRequires: package-notes >= 0.18
@@ -296,6 +296,10 @@ Requires: /usr/bin/systemd-sysusers
# so this biases towards the common version.
Recommends: systemd-sysusers%{_isa} = %{version}-%{release}
+%if 0%{?rhel} <= 10
+Requires: libzstd.so.1%{?elf_suffix}
+%endif
+
Recommends: diffutils
Requires: (util-linux-core or util-linux)
Requires: (libbpf >= 2:1.4.7 if libbpf)
@@ -349,6 +353,15 @@ Provides: /usr/sbin/reboot
Provides: /usr/sbin/shutdown
%endif
+%if 0%{?rhel} <= 10
+# libmount is always required, even in containers, so make it a hard dependency.
+Requires: libmount.so.1%{?elf_suffix}
+Requires: libmount.so.1(MOUNT_2.26)%{?elf_bits}
+# Various systemd services have syscall filters so make libseccomp a hard dependency.
+Requires: libseccomp.so.2%{?elf_suffix}
+Requires: libacl.so.1%{?elf_suffix}
+%endif
+
%define dlopen_notes_features %{expand:
# Various systemd services have syscall filters so make libseccomp a hard dependency.
systemd:seccomp:required
@@ -466,6 +479,17 @@ Requires(postun): systemd%{_isa} = %{version}-%{release}
Requires(post): grep
Requires: kmod >= 18-4
+%if 0%{?rhel} <= 10
+# Libkmod is used to load modules. Assume that if we need udevd, we certainly
+# want to load modules, so make this into a hard dependency here.
+Requires: libkmod.so.2%{?elf_suffix}
+Requires: libkmod.so.2(LIBKMOD_5)%{?elf_bits}
+# udev uses libblkid in various builtins so make it a hard dependency.
+Requires: libblkid.so.1%{?elf_suffix}
+Requires: libblkid.so.1(BLKID_2.30)%{?elf_bits}
+Requires: libfdisk.so.1%{?elf_suffix}
+%endif
+
Provides: udev = %{version}
Provides: udev%{_isa} = %{version}
%if 0%{?fedora} || 0%{?rhel} >= 10
@@ -483,6 +507,16 @@ Provides: systemd-timesyncd = %{version}-%{release}
%endif
Conflicts: systemd-networkd < %{version}-%{release}
+%if 0%{?rhel} <= 10
+# Libkmod is used to load modules. Assume that if we need udevd, we certainly
+# want to load modules, so make this into a hard dependency here.
+Requires: libkmod.so.2%{?elf_suffix}
+Requires: libkmod.so.2(LIBKMOD_5)%{?elf_bits}
+# udev uses libblkid in various builtins so make it a hard dependency.
+Requires: libblkid.so.1%{?elf_suffix}
+Requires: libblkid.so.1(BLKID_2.30)%{?elf_bits}
+%endif
+
# https://bugzilla.redhat.com/show_bug.cgi?id=1377733#c9
Suggests: systemd-bootchart
@@ -624,6 +658,10 @@ License: LGPL-2.1-or-later
Requires: firewalld-filesystem
Provides: systemd-journal-gateway = %{version}-%{release}
Provides: systemd-journal-gateway%{_isa} = %{version}-%{release}
+%if 0%{?rhel} <= 10
+Requires: libmicrohttpd.so.12%{?elf_suffix}
+Requires: libcurl.so.4%{?elf_suffix}
+%endif
# Bias the system towards libcurl-minimal if nothing pulls in full libcurl (#1997040)
Suggests: libcurl-minimal
@@ -660,6 +698,10 @@ enabled for this to have any effect.
%package resolved
Summary: Network Name Resolution manager
Requires: systemd%{_isa} = %{version}-%{release}
+%if 0%{?rhel} <= 10
+Requires: libidn2.so.0%{?elf_suffix}
+Requires: libidn2.so.0(IDN2_0.0.0)%{?elf_bits}
+%endif
Requires(posttrans): grep
%description resolved
reply other threads:[~2026-07-06 20:11 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=178336869580.1.8081138329900349669.rpms-systemd-2d6fd95c709f@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