Change attrs for mlocate.db ghost file

Make rpm --verify shut up.
This commit is contained in:
Michal Sekletar 2015-01-26 11:33:24 +01:00
parent 015ef1e3c1
commit cc54611b59

View File

@ -3,7 +3,7 @@
Summary: An utility for finding files by name
Name: mlocate
Version: 0.26
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2
URL: https://fedorahosted.org/mlocate/
Group: Applications/System
@ -59,9 +59,12 @@ fi
%{_bindir}/updatedb
%{_mandir}/man*/*
%dir %attr(0750,root,slocate) %{_localstatedir}/lib/mlocate
%ghost %{_localstatedir}/lib/mlocate/mlocate.db
%ghost %attr(0640,root,slocate) %{_localstatedir}/lib/mlocate/mlocate.db
%changelog
* Mon Jan 26 2015 Michal Sekletar <msekleta@redhat.com> - 0.26-9
- mlocate.db is ghost file created with non-default attrs, list them explicitly so rpm --verify doesn't report errors
* Wed Jan 7 2015 Michal Sekletar <msekleta@redhat.com> - 0.26-8
- change permissions of cron script to conform with Red Hat Security Guide (#1179721)
- prune meta-data dirs of couple more VCS systems (#949320)