From: Nathan Cutler Date: Tue, 23 May 2017 09:36:54 +0000 (+0200) Subject: build/ops: rpm: make librbd1 %post scriptlet depend on coreutils X-Git-Tag: ses5-milestone6~8^2~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15231%2Fhead;p=ceph.git build/ops: rpm: make librbd1 %post scriptlet depend on coreutils Fixes: http://tracker.ceph.com/issues/20052 Signed-off-by: Giacomo Comes Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index ce517b3a78579..3adb2532e0fb0 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -567,6 +567,9 @@ Group: System/Libraries %endif License: LGPL-2.0 Requires: librados2 = %{_epoch_prefix}%{version}-%{release} +%if 0%{?suse_version} +Requires(post): coreutils +%endif %if 0%{?rhel} || 0%{?fedora} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} %endif