dpkg-buildpackage: Fix R³ namespace check to only refuse unknown dpkg keywords
commitdcfbe8b626cd6c3551afe7cd46500bdd38d4c200
authorGuillem Jover <guillem@debian.org>
Sun, 28 May 2023 10:12:27 +0000 (28 12:12 +0200)
committerGuillem Jover <guillem@debian.org>
Wed, 19 Jul 2023 20:29:07 +0000 (19 22:29 +0200)
tree69da0b473ea613adf8cb43e5cbd933c4c69be5a9
parent53e67c27d5d926c91419e6b607f0d047b16243ae
dpkg-buildpackage: Fix R³ namespace check to only refuse unknown dpkg keywords

The check was intended to verify the «dpkg/» namespace, anything else is
supposed to be owned by their respective implementations. But the check
was too broad and did not allow anything else besides the «dpkg/»
namespace and the top-level known keywords.

Closes: #1036865
scripts/dpkg-buildpackage.pl