]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
packaging: add find and which dependencies 5075/head
authorNathan Cutler <ncutler@suse.com>
Thu, 25 Jun 2015 14:00:24 +0000 (16:00 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 9 Jul 2015 19:59:39 +0000 (21:59 +0200)
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 <ncutler@suse.com>
ceph.spec.in
debian/control

index 8e0e2a2ef0ffbcb1d2b6c13fd1234a179d2caa17..d5e28b3a24002cb48a8940684aaf2fb81ffc878c 100644 (file)
@@ -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}
index ef018e066639ac9020185e922aeee9a86b4d8bab..b541403ce68e952a5d7d184b7e3f198a86afdef6 100644 (file)
@@ -63,6 +63,8 @@ Architecture: linux-any
 Depends: binutils,
          ceph-common (>= 9.0.0-943),
          cryptsetup-bin | cryptsetup,
+         debianutils,
+         findutils,
          gdisk,
          grep,
          logrotate,