Skip to content

Commit

Permalink
ceph.spec.in: ceph-mib: specify "%dir %{_datadir}/snmp"
Browse files Browse the repository at this point in the history
Without this, the openSUSE build fails with:

  ceph-mib-17.0.0-[...].noarch.rpm: directories not owned by a package:
    - /usr/share/snmp

Fixes: 183e347
Signed-off-by: Tim Serong <[email protected]>
  • Loading branch information
tserong committed Aug 5, 2022
1 parent 7e12357 commit 69997b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 69997b3

Please sign in to comment.