+2020-10-30 Frank Ch. Eigler <fche@redhat.com>
+
+ * elfutils.spec.in: Fix debuginfod config/state file attributes
+ for non-lossy updates.
+
2020-10-08 Frank Ch. Eigler <fche@redhat.com>
* Makefile.am (uninstall-local): Uninstall the new profile.d files.
%make_install
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
+mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod
+touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite
# XXX Nuke unpackaged files
( cd ${RPM_BUILD_ROOT}
%{_libdir}/libdebuginfod.so.*
%{_bindir}/debuginfod-find
%{_mandir}/man1/debuginfod-find.1*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/profile.d/*
+%config(noreplace) %{_sysconfdir}/profile.d/*
%files debuginfod-client-devel
%defattr(-,root,root)
%files debuginfod
%defattr(-,root,root)
%{_bindir}/debuginfod
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/debuginfod
+%config(noreplace) %{_sysconfdir}/sysconfig/debuginfod
%{_unitdir}/debuginfod.service
%{_sysconfdir}/sysconfig/debuginfod
%{_mandir}/man8/debuginfod.8*
%dir %attr(0700,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod
-%verify(not md5 size mtime) %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite
+%ghost %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite
%pre debuginfod
getent group debuginfod >/dev/null || groupadd -r debuginfod