diff --git a/packaging/rpm-ostree.spec.in b/packaging/rpm-ostree.spec.in index 67d2793762..62040f2a21 100644 --- a/packaging/rpm-ostree.spec.in +++ b/packaging/rpm-ostree.spec.in @@ -234,6 +234,16 @@ $PYTHON autofiles.py > files.devel \ '%{_datadir}/gtk-doc/html/*' \ '%{_datadir}/gir-1.0/*-1.0.gir' +# Setup rpm-ostree-countme.timer according to presets +%post +%systemd_post rpm-ostree-countme.timer + +%preun +%systemd_preun rpm-ostree-countme.timer + +%postun +%systemd_postun_with_restart rpm-ostree-countme.timer + %files -f files %doc COPYING.GPL COPYING.LGPL LICENSE README.md