summaryrefslogtreecommitdiff
path: root/gbp/scripts/import_srpm.py
diff options
context:
space:
mode:
authorxuhy <huayong.xu@samsung.com>2024-06-24 10:35:47 +0800
committerxuhy <huayong.xu@samsung.com>2024-07-22 14:03:42 +0800
commit61d2a20dc0f8d4d45d296ac223fc59bfb8194a7e (patch)
tree82934eb86557720a96b327a755d815f5c6d88d8e /gbp/scripts/import_srpm.py
parent2646b085ee87854748be50a4f8ad1280845c3b8f (diff)
downloadgit-buildpackage-master.tar.gz
git-buildpackage-master.tar.bz2
git-buildpackage-master.zip
Fix some build errors on ubuntu 24.04HEADmasterdevel
sgml2x is not available on ubuntu 24.04. version is slower than that from ubuntu 24.04 mirrors. Change-Id: I209cf79a219d016c40e6ec71d80879572bb6ec97 Signed-off-by: xuhy <huayong.xu@samsung.com>
Diffstat (limited to 'gbp/scripts/import_srpm.py')
-rwxr-xr-xgbp/scripts/import_srpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py
index 88ca4819..2806e59e 100755
--- a/gbp/scripts/import_srpm.py
+++ b/gbp/scripts/import_srpm.py
@@ -382,7 +382,7 @@ def main(argv):
# for both upstream sources and packaging files
author = None
if spec.packager:
- match = re.match('(?P<name>.*[^ ])\s*<(?P<email>\S*)>',
+ match = re.match(r'(?P<name>.*[^ ])\s*<(?P<email>\S*)>',
spec.packager.strip())
if match:
author = GitModifier(match.group('name'), match.group('email'))