Package: libconfig-model-dpkg-perl
Followup-For: Bug #1063783
Control: tags -1 patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I've opened a MR[1] on Salsa with a fix. I've also included the patch
with this message.

- --
Vriendelijke groet, Kind regards,

Victor Westerhuis

- -- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_NL.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en_US:en:nl_NL:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libconfig-model-dpkg-perl depends on:
ii  debhelper                          13.13
ii  libapt-pkg-perl                    0.1.40+b3
ii  libarray-intspan-perl              2.004-2
ii  libconfig-model-backend-yaml-perl  2.134-2
ii  libconfig-model-perl               2.153-3
ii  libexporter-lite-perl              0.09-2
ii  liblog-log4perl-perl               1.57-1
ii  libmouse-perl                      2.5.10-1+b4
ii  libparse-debcontrol-perl           2.005-6
ii  libparse-recdescent-perl           1.967015+dfsg-4
ii  libsoftware-copyright-perl         0.012-2
ii  libsoftware-licensemoreutils-perl  1.009-1
ii  libsort-versions-perl              1.62-3
ii  libtext-autoformat-perl            1.750000-2
ii  libtext-levenshtein-damerau-perl   0.41-3
ii  libtoml-tiny-perl                  0.16-1
ii  liburi-perl                        5.25-1
ii  libwww-perl                        6.76-1
ii  libyaml-pp-perl                    0.38.0-1
ii  licensecheck                       3.3.9-1
ii  lintian                            2.116.3
ii  perl [libmodule-corelist-perl]     5.38.2-3

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.379-1

libconfig-model-dpkg-perl suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEE6OxII3T+o0Ujs6ECQz2Rq5dHQPsFAmXKerwTHHZpY3RvckB3
ZXN0ZXJodS5pcwAKCRBDPZGrl0dA+7X0D/9MJ/oQ6IrkQy3H9l4vdh6YvNmxp8Bv
ebTteB/Orhm8NAa3PMcgUKV1FQRBwncxjpc38r2qaFvVSMOCbZvCH94VtxixGCsK
/RvKyMOxDf5qZixLuTz1iaYp+Va+dbijiMG7YKAcwSOFx+FWJ85l/OAW9hFboj/c
Z8Ue7P/UMJqoKQOQoWV9hyKN5zbAma9gftSHxo/o6Jyad6hVWxznByC08DHdYW+K
EVvE0/mAQKsZkna8OSf0h+cIghXkEK6z8ueEShP7MaWsfQkuL0RnOf76Qh0Jxxom
lP79rf8TN6N9xJFntMqtIxp7RIqCGF7nIzQALqe32W7y+qeKtwilGmLTH/OmNOmd
zcC1N1/q1NIOuYxzIGBcIGvNf3fT7aS1Tmhc8nRzy+yqccUri1UUej/+cM87eqc1
4azmfm67J0JZgWmzUJ6638vYacHqz59kurzK7d/MWdXRqSpH8YiwhVpzpcvykxIM
fwmAj9h97KDNILKX4Wq1B0v8PUXn2r4hxS/ugq4sHDMJRcy8KuvLHUGjH8aXDkJF
m1+zqrq/n9BucehJTZRVB3cfAsqDvzfVks11XdbrPlHnABZmbeeaXIwkHGC56rYy
E3rXOon9yTpKsZ+bn75K+13kaMgZekVKRA0RfaSOmmwWWbZxX9OkCIxQcdQWJ1KV
BSmHdqBnbabfkQ==
=Fvjq
-----END PGP SIGNATURE-----
>From 9ccdbc88bf300e25a3dbcd043a4b492dba7cf9b7 Mon Sep 17 00:00:00 2001
From: Victor Westerhuis <vic...@westerhu.is>
Date: Mon, 12 Feb 2024 20:49:15 +0100
Subject: Add Architecture as allowed field in debian/tests/control

---
 lib/Config/Model/models/Dpkg/Tests/Control.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Tests/Control.pl 
b/lib/Config/Model/models/Dpkg/Tests/Control.pl
index f0f0f13e..12b9d053 100644
--- a/lib/Config/Model/models/Dpkg/Tests/Control.pl
+++ b/lib/Config/Model/models/Dpkg/Tests/Control.pl
@@ -120,6 +120,12 @@ This field can specify a list of abstract class names such 
as "desktop" or "grap
 This is purely an informational field for autopkgtest itself and will be 
ignored.',
         'type' => 'leaf',
         'value_type' => 'uniline'
+      },
+      'Architecture',
+      {
+        'description' => 'When package tests are only supported on a limited 
set of architectures, or are known to not work on a particular (set of) 
architecture(s), this field can be used to define the supported architectures. 
The autopkgtest will be skipped when the architecture of the testbed doesn\'t 
match the content of this field. The format is the same as in (Build-)Depends, 
with the understanding that C<all> is not allowed, and C<any> means that the 
test will be run on every architecture, which is the default when not 
specifying this field at all.',
+        'type' => 'leaf',
+        'value_type' => 'string'
       }
     ],
     'gist' => '{Tests:0}{Test-Command}',
-- 
2.43.0

Reply via email to