From 28a50987966293aea8945511f30e12802f8cf606 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 23 May 2017 11:36:54 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5