From 7332568141b8373e81193d6e032ac1a8de7a1a94 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 20 Jan 2022 18:29:35 -0500 Subject: [PATCH] Avoid double patch application on non-Fedora --- ignition.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ignition.spec b/ignition.spec index 0be3ee3..de88938 100644 --- a/ignition.spec +++ b/ignition.spec @@ -238,10 +238,10 @@ Ignition project's Github releases page. %prep %if 0%{?fedora} %goprep -k +%autopatch -p1 %else %forgeautosetup -p1 %endif -%autopatch -p1 %build export LDFLAGS="-X github.com/coreos/ignition/v2/internal/version.Raw=%{version} -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true " @@ -313,6 +313,7 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition %changelog * Thu Jan 20 2022 Benjamin Gilbert - 2.13.0-3 - Fix LUKS volume reuse +- Avoid double patch application on non-Fedora * Thu Jan 20 2022 Fedora Release Engineering - 2.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild