From 9f54233104296a9923ab303edec9abc2ef4d1f1d Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Mon, 16 Jul 2018 20:56:50 +0200 Subject: [PATCH] build/ops: rpm: make sudo a build dependency ede36df3253bd67bfe206abc0446f1f156feae64 added sudo as a runtime dependency, but that commit also causes OBS builds to fail with: [10666s] ... checking filelist [10667s] ceph-osd-14.0.0-lp150.1332.1.x86_64.rpm: directories not owned by a package: [10667s] - /etc/sudoers.d Since the "sudo" package is a runtime dependency of ceph-osd, it is guaranteed to be installed on the target system and there is no reason for ceph-osd to own this directory. Having sudo as a build dependency makes OBS happy, and does no harm. Follow-on fix for https://github.com/ceph/ceph/pull/22745 Signed-off-by: Nathan Cutler --- ceph.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph.spec.in b/ceph.spec.in index f0b79644072d2..c9071c7844ffa 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -157,6 +157,7 @@ BuildRequires: procps BuildRequires: python%{_python_buildid} BuildRequires: python%{_python_buildid}-devel BuildRequires: snappy-devel +BuildRequires: sudo BuildRequires: udev BuildRequires: util-linux BuildRequires: valgrind-devel -- 2.39.5