[packages/rpm-build-tools] _default_patch_fuzz 2

arekm arekm at pld-linux.org
Tue Feb 23 12:41:25 CET 2021


commit 2addb8ce32e435d7c0cc637c54a312da791cef4b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Feb 23 12:41:18 2021 +0100

    _default_patch_fuzz 2

 rediff-patches.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rediff-patches.py b/rediff-patches.py
index 4b5bdaf..d2d6c59 100755
--- a/rediff-patches.py
+++ b/rediff-patches.py
@@ -19,7 +19,7 @@ import tempfile
 RPMBUILD_ISPATCH = (1<<1)
 
 def unpack(spec, builddir, until_patch=None):
-    cmd = [ 'rpmbuild', '-bp', '--define',  '_builddir %s' % builddir ]
+    cmd = [ 'rpmbuild', '-bp', '--define',  '_builddir %s' % builddir, '--define', '_default_patch_fuzz 2' ]
     if until_patch is not None:
         cmd += [ '--define', '%%patch%d exit; #' % until_patch ]
     cmd += [ spec ]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/2addb8ce32e435d7c0cc637c54a312da791cef4b



More information about the pld-cvs-commit mailing list