From e90f1041975f715734a5366acff7c44e42f95e60 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Fri, 25 Aug 2023 10:01:24 +0200 Subject: [PATCH] valgrind required only for tests --- libinput.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libinput.spec b/libinput.spec index ecf8463..0bb7c6b 100644 --- a/libinput.spec +++ b/libinput.spec @@ -34,7 +34,7 @@ BuildRequires: rpmbuild(macros) >= 1.752 BuildRequires: sed >= 4.0 BuildRequires: tar >= 1:1.22 BuildRequires: udev-devel -BuildRequires: valgrind +%{?with_tests:BuildRequires: valgrind} BuildRequires: xz %if %{with gui} BuildRequires: cairo-devel -- 2.44.0