tmz / rpms / git

Forked from rpms/git 6 years ago
Clone

53fdd53 Use %autosetup macro to unpack and patch source

Authored and Committed by tmz 6 years ago
1 file changed. 4 lines added. 4 lines removed.
    Use %autosetup macro to unpack and patch source
    
    Using %autosetup frees us from having to manage %patch entries.  It does
    require that all patches use the same strip level (-p1 in our case).
    There is also a mildly annoying bug in EL-6¹ which chokes on the patch
    invocation if a blank line doesn't follow %autosetup.  A comment should
    prevent any problems.
    
    The %autosetup -S option is deliberately avoided, to prevent needless
    bootstrapping problems.
    
    ¹ https://bugzilla.redhat.com/1310704
    
        
file modified
+4 -4