]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: guard runtime deps with "with make_check" 26402/head
authorKefu Chai <kchai@redhat.com>
Sat, 16 Feb 2019 14:17:54 +0000 (22:17 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 16 Feb 2019 18:27:07 +0000 (02:27 +0800)
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 <kchai@redhat.com>
ceph.spec.in

index e0abdcdde767938a0d318543f2380417a3d2fc6e..bbe0ef4d942efde97dd91b0827a63aecd5b24cd5 100644 (file)
@@ -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