]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: rpm: add which as a build dependency, unconditionally
authorNathan Cutler <ncutler@suse.com>
Wed, 31 May 2017 23:12:11 +0000 (01:12 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 14 Jun 2017 10:15:47 +0000 (12:15 +0200)
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 <ncutler@suse.com>
ceph.spec.in

index 6e8690b83188b97ca85ed35b5c3e209cececb72f..1f09e5d2d7e41b514e7d5f79ea715df0ccc7c7b8 100644 (file)
@@ -135,6 +135,7 @@ BuildRequires:      snappy-devel
 BuildRequires: udev
 BuildRequires: util-linux
 BuildRequires: valgrind-devel
+BuildRequires: which
 BuildRequires: xfsprogs
 BuildRequires: xfsprogs-devel
 BuildRequires: xmlstarlet