From 57914a116c9e4dcb4109972ae40782710db0695c Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 31 Dec 2015 12:31:56 +0100 Subject: [PATCH] Also allow '-' in suffix of .buildinfo files This matches what we allow to be used for .changes files in re_file_changes. --- daklib/regexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/regexes.py b/daklib/regexes.py index 8b548ce9..40b4a741 100644 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -143,7 +143,7 @@ re_file_orig = re.compile(_re_file_prefix + r'\.orig(?:-[a-zA-Z0-9-]+)?(?:\.tar\ # Match buildinfo file # Groups: package, version, suffix -re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P[a-zA-Z0-9+]+)\.buildinfo$') +re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P[a-zA-Z0-9+-]+)\.buildinfo$') ###################################################################### # Patterns matching fields # -- 2.39.2