From: Nathan Cutler Date: Thu, 25 Jun 2015 14:00:24 +0000 (+0200) Subject: packaging: add find and which dependencies X-Git-Tag: v9.0.3~60^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a56c482592af96bad665c4d16a7ecadf86ecaeb;p=ceph.git packaging: add find and which dependencies The postrotate script in src/logrotate.conf uses the which and find utilities to do its work. Although logrotate itself is only a Recommends, I think which and find are so ubiquitous that it makes sense to have them as hard dependencies. Also, I checked and the package names which and findutils are the same on all the RPM distros we are currently targeting in the spec file. In Debian, find is also in a package called findutils while the package containing 'which' is called debianutils. Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index 8e0e2a2ef0ff..d5e28b3a2400 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -51,6 +51,8 @@ Requires: parted Requires: util-linux Requires: hdparm Requires: cryptsetup +Requires: findutils +Requires: which Requires(post): binutils # We require this to be present for %%{_tmpfilesdir} %if 0%{?_with_systemd} diff --git a/debian/control b/debian/control index ef018e066639..b541403ce68e 100644 --- a/debian/control +++ b/debian/control @@ -63,6 +63,8 @@ Architecture: linux-any Depends: binutils, ceph-common (>= 9.0.0-943), cryptsetup-bin | cryptsetup, + debianutils, + findutils, gdisk, grep, logrotate,