From: Tim Serong Date: Wed, 3 Aug 2022 10:16:48 +0000 (+1000) Subject: ceph.spec.in: ceph-mib: specify "%dir %{_datadir}/snmp" X-Git-Tag: v18.0.0~323^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F47436%2Fhead;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 7a0a6009e893..0f85d6770a7b 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