From 8a56c482592af96bad665c4d16a7ecadf86ecaeb Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 25 Jun 2015 16:00:24 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 2 ++ debian/control | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 8e0e2a2ef0f..d5e28b3a240 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 ef018e06663..b541403ce68 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, -- 2.47.3