[packages/libinput] valgrind required only for tests

atler atler at pld-linux.org
Fri Aug 25 11:13:47 CEST 2023


commit e90f1041975f715734a5366acff7c44e42f95e60
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Aug 25 10:01:24 2023 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinput.git/commitdiff/e90f1041975f715734a5366acff7c44e42f95e60



More information about the pld-cvs-commit mailing list