]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: ceph-mib: specify "%dir %{_datadir}/snmp" 47436/head
authorTim Serong <tserong@suse.com>
Wed, 3 Aug 2022 10:16:48 +0000 (20:16 +1000)
committerTim Serong <tserong@suse.com>
Fri, 5 Aug 2022 03:12:50 +0000 (13:12 +1000)
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 <tserong@suse.com>
ceph.spec.in

index 7a0a6009e89301c3ba457bbf5a629df83f71afb4..0f85d6770a7bf9ea15cd5e9f4cf5a6acf6d9c8fc 100644 (file)
@@ -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