diff --git a/zenity.spec b/zenity.spec index 597d6c6..93c2bd8 100644 --- a/zenity.spec +++ b/zenity.spec @@ -15,7 +15,10 @@ BuildRequires: gettext BuildRequires: itstool BuildRequires: meson BuildRequires: which -BuildRequires: xorg-x11-server-Xvfb +# Tests +BuildRequires: xwayland-run +BuildRequires: mutter +BuildRequires: mesa-dri-drivers %description Zenity lets you display Gtk+ dialog boxes from the command line and through @@ -29,7 +32,7 @@ from the same family as dialog, Xdialog, and cdialog. %build %meson # Man page generation requires running the in-tree zenity command. -%{shrink:xvfb-run -w 10 -d %meson_build} +%{shrink:xwfb-run -c mutter -w 10 -- %meson_build} %install