1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Arnaud Ferraris <aferraris@debian.org>
Date: Mon, 27 Nov 2023 20:59:28 +0100
Subject: data: build: prevent `appstreamcli` from accessing the network
This causes failures on Debian as build processes can't rely on remote
resources.
Forwarded: not-needed
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/meson.build b/data/meson.build
index 459a051..55ca93c 100644
@@ -34,7 +34,7 @@ appstream_file = i18n.merge_file(
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
- test('Validate appstream file', appstreamcli, args: ['validate', appstream_file])
+ test('Validate appstream file', appstreamcli, args: ['validate', '--no-net', appstream_file])
endif
install_data(
|