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:
parent
3e780762cb
commit
8aba0d196e
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ Contains additional tools and utilities for development of
|
|||
manifests and osbuild.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%forgeautosetup -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue