dh_gnome_clean: fix Maintainer/Uploaders handling.
As seen with at least gnome-shell-extension-tiling-assistant, uploaders with parentheses are getting ignored. To fix that, drop the trailing newline when parsing the team list file, and use an exact match (eq) instead of using a regex match (=~).
For the gnome-shell-extension-tiling-assistant
package in experimental
(which was utterly broken and in turn broke the BTS and britney-related things), applying this change to gnome-pkg-tools
, and the following diff to debian/control.in
:
--- a/debian/control.in
+++ b/debian/control.in
@@ -1,8 +1,7 @@
Source: gnome-shell-extension-tiling-assistant
Section: gnome
Priority: optional
-Maintainer: Fabio Augusto De Muzio Tobich <ftobich@debian.org>,
- Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
+Maintainer: Fabio Augusto De Muzio Tobich <ftobich@debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper-compat (= 13),
dh-sequence-gnome,
gives me the following diff to debian/control
:
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,8 @@
Source: gnome-shell-extension-tiling-assistant
Section: gnome
Priority: optional
-Maintainer: Fabio Augusto De Muzio Tobich <ftobich@debian.org>,
- Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
-Uploaders:
+Maintainer: Fabio Augusto De Muzio Tobich <ftobich@debian.org>
+Uploaders: Marco Trevisan (Treviño) <marco@ubuntu.com>
Build-Depends: debhelper-compat (= 13),
dh-sequence-gnome,
gettext
Without the change, I'm getting an empty Uploaders
field.