|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
cstratak commented 3 years ago | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
cstratak commented 3 years ago While this makes sense and it seems sane, I'm struggling to find documentation on that macro, would you be able to point me to a direction for it? | ||
churchyard commented 3 years ago I couldn't find any %apply_patch documentation either, but it is from https://github.com/rpm-software-management/rpm/blob/master/macros.in#L1242 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Some patches are applied conditionally, so we need to use %autosetup with -N,
to prevent automatic patch application.
Later patches from 190 up are applied (with -m for minimum).
While not necessary shorter, this no longer requires adding/removing %patch XYZ
when adding/removing patches > 190.
While at it, we also use git am to apply the patches
since they are all generated from git anyway.
This makes it easier if we ever patch binary files.
This is partial backport of https://src.fedoraproject.org/rpms/python3.9/c/0a760f01ca
The invocation seems sane to me according to this directive's documentation