From 86a59b82801e50148a7011c379d103bb908b5414 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Sun, 18 Aug 2019 09:25:22 -0700 Subject: [PATCH] Add new pattern for 'vala' Autospec fails for several gnome packages with: meson.build:1:0: ERROR: Could not execute Vala compiler "valac" This had to be fixed by manually adding "vala" to buildreq_add file. This patch adds "BuildRequires : vala" to the spec file if the pattern "ERROR: Could not execute Vala compiler" is detected. Signed-off-by: Juro Bystricky --- autospec/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autospec/config.py b/autospec/config.py index d09053f..2d7fec2 100644 --- a/autospec/config.py +++ b/autospec/config.py @@ -184,6 +184,7 @@ simple_pats = [ (r"configure: error: glib2", "glib-dev"), (r"C library 'efivar' not found", "efivar-dev"), (r"Has header \"efi.h\": NO", "gnu-efi-dev"), + (r"ERROR: Could not execute Vala compiler", "vala"), (r".*: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL", 'gobject-introspection-dev')] # failed_pattern patterns