churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

bf5c577 Use %autosetup with git am

Authored and Committed by churchyard 3 years ago
1 file changed. 16 lines added. 18 lines removed.
    Use %autosetup with git am
    
    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
    
        
file modified
+16 -18