From 69997b3b0c0134fff02a70e64531497ae0d1aad9 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Wed, 3 Aug 2022 20:16:48 +1000 Subject: [PATCH] ceph.spec.in: ceph-mib: specify "%dir %{_datadir}/snmp" Without this, the openSUSE build fails with: ceph-mib-17.0.0-[...].noarch.rpm: directories not owned by a package: - /usr/share/snmp Fixes: 183e3475064459fb10820b1c356875244fbc3f8a Signed-off-by: Tim Serong --- ceph.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph.spec.in b/ceph.spec.in index 7a0a6009e89..0f85d6770a7 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -2592,6 +2592,7 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %files mib +%attr(0755,root,root) %dir %{_datadir}/snmp %{_datadir}/snmp/mibs %changelog -- 2.39.5