[packages/crun] runtime criu dep only when built with criu

atler atler at pld-linux.org
Wed May 26 22:22:13 CEST 2021


commit 708989ee0d73d71b949ce5da56f2c375fde64083
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed May 26 22:21:41 2021 +0200

    runtime criu dep only when built with criu

 crun.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/crun.spec b/crun.spec
index 2a345be..bfc973e 100644
--- a/crun.spec
+++ b/crun.spec
@@ -30,7 +30,7 @@ BuildRequires:	systemd-devel
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	yajl-devel >= 2.0.0
-Requires:	criu-libs >= 3.15
+%{?with_criu:Requires:	criu-libs >= 3.15}
 Requires:	yajl >= 2.0.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crun.git/commitdiff/708989ee0d73d71b949ce5da56f2c375fde64083



More information about the pld-cvs-commit mailing list