Spec: use %forgeautosetup macro in %prep phase

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 <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-05-25 16:23:15 +02:00 committed by Simon de Vlieger
parent 3e780762cb
commit 8aba0d196e

View file

@ -121,7 +121,7 @@ Contains additional tools and utilities for development of
manifests and osbuild.
%prep
%forgesetup
%forgeautosetup -p1
%build
%py3_build