From 0950a2a259cef4c6b26a0a89d39100915351c2ee Mon Sep 17 00:00:00 2001 From: Maximilian Attems Date: Sat, 3 May 2014 15:47:38 +0000 Subject: [PATCH] genorig: double digit version match Fix patch name match accordingly to tarball match Signed-off-by: maximilian attems svn path=/dists/trunk/linux/; revision=21297 --- debian/bin/genorig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/bin/genorig.py b/debian/bin/genorig.py index 203ddfebe..7fa9e8de5 100755 --- a/debian/bin/genorig.py +++ b/debian/bin/genorig.py @@ -81,7 +81,7 @@ class Main(object): def upstream_patch(self, input_patch): self.log("Patching source with %s\n" % input_patch) - match = re.match(r'(^|.*/)patch-\d+\.\d+\.\d+(-\S+?)?(\.(?P(bz2|gz|xz)))?$', input_patch) + match = re.match(r'(^|.*/)patch-\d+\.\d+(\.\d+)?(-\S+?)?(\.(?P(bz2|gz|xz)))?$', input_patch) if not match: raise RuntimeError("Can't identify name of patch") cmdline = []