From 7a19b4bb4fb58937e65000c504fb7910fde224a7 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 5 Nov 2023 23:04:05 -0500 Subject: [PATCH] Only apply devendoring patch in Fedora builds RHEL/ELN builds use the vendored dependency, so applying this patch there triggers an error. --- yggdrasil-worker-package-manager.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yggdrasil-worker-package-manager.spec b/yggdrasil-worker-package-manager.spec index 7ea4768..78c5d33 100644 --- a/yggdrasil-worker-package-manager.spec +++ b/yggdrasil-worker-package-manager.spec @@ -25,7 +25,7 @@ License: GPL-3.0-only URL: %{gourl} Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz -Patch0: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch +Patch100: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch BuildRequires: systemd-rpm-macros BuildRequires: meson @@ -37,7 +37,7 @@ BuildRequires: pkgconfig(dbus-1) %prep %goprep %{?rhel:-k} -%autopatch -p1 +%autopatch -p1 %{?rhel:-M 99} %if %{undefined rhel} %generate_buildrequires