From 3f68c5d802f018d7c4e7153757420844249bccab Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Jul 05 2024 13:26:40 +0000 Subject: Only exclude dracut conflicts on non-fedora on upstream builds For the CentOS Stream Hyperscale SIG we backport a newer version of dracut and still want the Conflicts to apply so let's conditionalize the check on the %upstream macro since we only need it for upstream builds anyway. --- diff --git a/systemd.spec b/systemd.spec index 4d7e826..a24a611 100644 --- a/systemd.spec +++ b/systemd.spec @@ -283,7 +283,7 @@ Conflicts: selinux-policy-any < 41.1 # Make sure that dracut supports systemd-executor and the renames done for v255, # and dlopen libraries and read-only fs in initrd. Conflicts: dracut < 060-2 -%elif 0%{?fedora} +%elif 0%{?fedora} || %{without upstream} # Make sure that dracut supports systemd-executor and the renames done for v255. Conflicts: dracut < 059-16 %endif