Revert "Drop %pre/%post for ostree-remount.spec"

This reverts commit c4dd042961.

We still need to handle installing it.
This commit is contained in:
Colin Walters 2017-08-22 15:59:38 -04:00
parent 5906eb7d47
commit 9351cecaae

View File

@ -97,6 +97,13 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system-preset/9
# Right now we aren't doing installed tests here
rm -f %{buildroot}%{_libexecdir}/libostree/ostree-trivial-httpd
# Needed to enable the service at compose time currently
%post
%systemd_post ostree-remount.service
%preun
%systemd_preun ostree-remount.service
%files
%{!?_licensedir:%global license %%doc}
%license COPYING