Added systemd timer that can run etckeeper 10 minutes after boot, and
also daily. It's not enabled by default, partly because of overlap with
the cron job.
s|LOWLEVEL_PACKAGE_MANAGER=dpkg|LOWLEVEL_PACKAGE_MANAGER=rpm|;
' %{name}.conf
+%{__sed} -i -e 's#$(prefix)/lib/systemd#/lib/systemd#' Makefile
+
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
%attr(755,root,root) %{_poldekconfdir}/post-install.d/%{name}
%dir %attr(750,root,root) %{_localstatedir}/cache/%{name}
+%{systemdunitdir}/etckeeper.service
+%{systemdunitdir}/etckeeper.timer
+
# subpackages
%exclude /lib/etckeeper/commit.d/30bzr-add