Only apply devendoring patch in Fedora builds

RHEL/ELN builds use the vendored dependency, so applying this patch
there triggers an error.
This commit is contained in:
Yaakov Selkowitz 2023-11-05 23:04:05 -05:00
parent ff79a5f7af
commit 7a19b4bb4f

View File

@ -25,7 +25,7 @@ License: GPL-3.0-only
URL: %{gourl} URL: %{gourl}
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch0: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch Patch100: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: meson BuildRequires: meson
@ -37,7 +37,7 @@ BuildRequires: pkgconfig(dbus-1)
%prep %prep
%goprep %{?rhel:-k} %goprep %{?rhel:-k}
%autopatch -p1 %autopatch -p1 %{?rhel:-M 99}
%if %{undefined rhel} %if %{undefined rhel}
%generate_buildrequires %generate_buildrequires