churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

4d8d4c0 Use %autosetup with git am

1 file Authored by churchyard 3 years ago, Committed by cstratak 3 years ago,
1 file changed. 19 lines added. 22 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
+19 -22