commit b74ba7eab21bb29ea23a59143c8ce8196f51744f
Author: Jan Palus <[email protected]>
Date: Fri Nov 5 13:58:50 2021 +0100
handle systemd units
podman.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/podman.spec b/podman.spec
index 35329d7..3f090bb 100644
--- a/podman.spec
+++ b/podman.spec
@@ -116,6 +116,15 @@ $RPM_BUILD_ROOT%{_bindir}/podman completion -f
$RPM_BUILD_ROOT%{zsh_compdir}/_po
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%systemd_post podman.service podman.socket
+
+%preun
+%systemd_preun podman.service podman.socket
+
+%postun
+%systemd_reload
+
%files
%defattr(644,root,root,755)
%doc README.md
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/podman.git/commitdiff/b74ba7eab21bb29ea23a59143c8ce8196f51744f
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit