From d86ef56332ade5c06e448175542b26fad590f2e1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 16 Feb 2019 22:17:54 +0800 Subject: [PATCH] rpm: guard runtime deps with "with make_check" move jq and xmlstarlet into "with make_check", as they are only used for running "make check", not for building Ceph. Signed-off-by: Kefu Chai --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index e0abdcdde76..bbe0ef4d942 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -158,7 +158,6 @@ BuildRequires: gperftools-devel >= 2.6.1 BuildRequires: gperftools-devel >= 2.4 %endif %endif -BuildRequires: jq BuildRequires: leveldb-devel > 1.2 BuildRequires: libaio-devel BuildRequires: libblkid-devel >= 2.17 @@ -187,6 +186,7 @@ BuildRequires: xfsprogs-devel BuildRequires: xmlstarlet BuildRequires: yasm %if 0%{with make_check} +BuildRequires: jq BuildRequires: python%{_python_buildid}-bcrypt BuildRequires: python%{_python_buildid}-coverage BuildRequires: python%{_python_buildid}-nose