public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Restore explicit requires for Centos Stream 9 and 10
@ 2026-07-06 20:11 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-06 20:11 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-07-06 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 20:11 [rpms/systemd] rawhide: Restore explicit requires for Centos Stream 9 and 10 

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