]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
build/ops: rpm: make sudo a build dependency 23077/head
authorNathan Cutler <ncutler@suse.com>
Mon, 16 Jul 2018 18:56:50 +0000 (20:56 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 19 Jul 2018 12:15:05 +0000 (14:15 +0200)
commit9f54233104296a9923ab303edec9abc2ef4d1f1d
tree11428e06e1eefe519df567b2e2414e31c7fc21ac
parent158ed6105d2a9def5988d370eb9b7bc076b82deb
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 <ncutler@suse.com>
ceph.spec.in