From 8aba0d196e201bbdcc0ffcf1a04864a364a828ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Thu, 25 May 2023 16:23:15 +0200 Subject: [PATCH] Spec: use %forgeautosetup macro in %prep phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use %forgeautosetup macro to prepare sources in the %prep phase to auto-apply any potential downstream patches just by listing them in the spec file using `PatchX`. Otherwise, the macro needs to be modified each time a downstream patch needs to be applied in downstream. Signed-off-by: Tomáš Hozza --- osbuild.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osbuild.spec b/osbuild.spec index 9e16c928..8d5d3544 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -121,7 +121,7 @@ Contains additional tools and utilities for development of manifests and osbuild. %prep -%forgesetup +%forgeautosetup -p1 %build %py3_build