From 21a960d9d3ef66201d28cdfa60c9be0105018e1a Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 2 Dec 2023 23:27:00 +0100 Subject: [PATCH] - libcanberra is enabled only with gnome and with heavy --- vim.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vim.spec b/vim.spec index 70188bb..278defd 100644 --- a/vim.spec +++ b/vim.spec @@ -143,7 +143,9 @@ BuildRequires: gtk+3-devel >= 3.0 BuildRequires: gtk+2-devel >= 2:2.6.0 %endif %endif +%if %{with gnome} || %{with heavy} BuildRequires: libcanberra-devel +%endif %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1} %if %{with selinux} || %{with heavy} BuildRequires: libselinux-devel -- 2.44.0