From: Nathan Cutler Date: Wed, 31 May 2017 23:12:11 +0000 (+0200) Subject: build/ops: rpm: add which as a build dependency, unconditionally X-Git-Tag: v12.1.0~152^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38ee2a34d04a9d09dbb1de18d5dd6a1702f6ff30;p=ceph.git build/ops: rpm: add which as a build dependency, unconditionally Although "which" is only used in the tests, we need the dependency to be picked up by install-deps.sh. This is a stopgap measure until we can get rid of the dependency entirely by replacing "which" with "type -P" in the tests. Fixes: http://tracker.ceph.com/issues/20127 Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index 6e8690b8318..1f09e5d2d7e 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -135,6 +135,7 @@ BuildRequires: snappy-devel BuildRequires: udev BuildRequires: util-linux BuildRequires: valgrind-devel +BuildRequires: which BuildRequires: xfsprogs BuildRequires: xfsprogs-devel BuildRequires: xmlstarlet