From f7da01d03a37add56216160c7eb7fe07f6617ab5 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Frintrop Date: Tue, 18 Jul 2017 08:54:47 +0200 Subject: [PATCH] Fix brackets of maintainer email The email address of the maintainer must use angle brackes as per https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Maintainer Also there should be a space between name and email. --- src/wdm/debian/control/StandardFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wdm/debian/control/StandardFile.php b/src/wdm/debian/control/StandardFile.php index 253642e..9d3dc1c 100644 --- a/src/wdm/debian/control/StandardFile.php +++ b/src/wdm/debian/control/StandardFile.php @@ -109,7 +109,7 @@ class StandardFile public function setMaintainer($maintainer, $email = false) { $email = ($email) ? $email : "---"; - return $this->_setProperty("Maintainer", $maintainer . "[{$email}]"); + return $this->_setProperty("Maintainer", $maintainer . " <{$email}>"); } public function setConflicts($conflicts)