From a9807c4486037e2a47bae8ae7fcf3fa265ebdaab Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Aug 24 2024 15:29:51 +0000 Subject: Do not require grubby on CentOS Stream 9 This is a fixup for 12d1f050295e2e88235a5478b07eebdbda461ae3. --- diff --git a/systemd.spec b/systemd.spec index 1865706..524109a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -419,8 +419,10 @@ Obsoletes: systemd < 245.6-1 Provides: udev = %{version} Provides: udev%{_isa} = %{version} Obsoletes: udev < 183 +%if 0%{?fedora} || 0%{?rhel} >= 10 Requires: (grubby > 8.40-72 if grubby) Requires: (sdubby > 1.0-3 if sdubby) +%endif # A backport of systemd-timesyncd is shipped as a separate package in EPEL so # let's make sure we properly handle that. %if 0%{?rhel}