Control: tags -1 + patch
Since dpkg 1.23.8, dpkg-dev has become more picky about email address
formats, enforcing the existing policy requirement about email address
formatting (and also clarifying things where policy was vague around
what is acceptable in Uploaders). See deb-email(7) for details.
The format used in git-build-recipe's test suite:
Maintainer: maint [email protected]
is no longer accepted by dpkg. This patch corrects the syntax to
Maintainer: maint <[email protected]>
regards
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ [email protected]
Debian Developer http://www.debian.org/ [email protected]
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
From 2fa798861b27ff4febf4ab43c8ff9cf5e3b59a00 Mon Sep 17 00:00:00 2001
From: Stuart Prescott <[email protected]>
Date: Fri, 13 Nov 2026 10:16:03 +1100
Subject: [PATCH] Fix Maintainer field syntax in the test suite
Required for compatibility from dpkg 1.23.8.
Closes: #1127508
---
gitbuildrecipe/tests/test_functional.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gitbuildrecipe/tests/test_functional.py b/gitbuildrecipe/tests/test_functional.py
index 56fd216..7a8ea31 100644
--- a/gitbuildrecipe/tests/test_functional.py
+++ b/gitbuildrecipe/tests/test_functional.py
@@ -130,7 +130,7 @@ class FunctionalBuilderTests(GitTestCase):
source.build_tree_contents([
("debian/rules", "#!/usr/bin/make -f\nclean:\n"),
("debian/control",
- "Source: foo\nMaintainer: maint [email protected]\n\n"
+ "Source: foo\nMaintainer: maint <[email protected]>\n\n"
"Package: foo\nArchitecture: all\n")])
source.add(["a", "debian/rules", "debian/control"])
commit = source.commit("one")
@@ -166,7 +166,7 @@ class FunctionalBuilderTests(GitTestCase):
source.build_tree_contents([
("debian/rules", "#!/usr/bin/make -f\nclean:\n"),
("debian/control",
- "Source: foo\nMaintainer: maint [email protected]\n\n"
+ "Source: foo\nMaintainer: maint <[email protected]>\n\n"
"Package: foo\nArchitecture: all\n")])
source.add(["a", "debian/rules", "debian/control"])
source.commit("one")
@@ -183,7 +183,7 @@ class FunctionalBuilderTests(GitTestCase):
source.build_tree_contents([
("debian/rules", "#!/usr/bin/make -f\nclean:\n"),
("debian/control",
- "Source: foo\nMaintainer: maint [email protected]\n"
+ "Source: foo\nMaintainer: maint <[email protected]>\n"
"\nPackage: foo\nArchitecture: all\n")])
source.add(["a", "debian/rules", "debian/control"])
source.commit("one")
@@ -233,7 +233,7 @@ class FunctionalBuilderTests(GitTestCase):
source.build_tree_contents([
("debian/rules", "#!/usr/bin/make -f\nclean:\n"),
("debian/control",
- "Source: package\nMaintainer: maint [email protected]\n\n"
+ "Source: package\nMaintainer: maint <[email protected]>\n\n"
"Package: package\nArchitecture: all\n"),
("debian/changelog", cl_contents)
])
@@ -361,7 +361,7 @@ class FunctionalBuilderTests(GitTestCase):
source.build_tree_contents([
("debian/", None),
("debian/control",
- "Source: foo\nMaintainer: maint [email protected]\n")
+ "Source: foo\nMaintainer: maint <[email protected]>\n")
])
source.add(["a", "debian/control"])
source.commit("one")
--
2.47.3