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.
This commit is contained in:
Jan-Hendrik Frintrop 2017-07-18 08:54:47 +02:00 committed by GitHub
commit f7da01d03a

View file

@ -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)