[packages/pipewire] - call systemd user macros once

baggins baggins at pld-linux.org
Sat Jan 8 13:50:12 CET 2022


commit 0f53cc8e5ef9e0423baa0fd10621de965e8673de
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 8 13:49:59 2022 +0100

    - call systemd user macros once

 pipewire.spec | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/pipewire.spec b/pipewire.spec
index a764b17..4a60161 100644
--- a/pipewire.spec
+++ b/pipewire.spec
@@ -300,23 +300,19 @@ cp -p pipewire-alsa/conf/*.conf $RPM_BUILD_ROOT%{_datadir}/alsa/alsa.conf.d
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%systemd_user_post pipewire.service
-%systemd_user_post pipewire.socket
+%systemd_user_post pipewire.service pipewire.socket
 
 %preun
-%systemd_user_preun pipewire.service
-%systemd_user_preun pipewire.socket
+%systemd_user_preun pipewire.service pipewire.socket
 
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
 %post pulseaudio
-%systemd_user_post pipewire-pulse.service
-%systemd_user_post pipewire-pulse.socket
+%systemd_user_post pipewire-pulse.service pipewire-pulse.socket
 
 %preun pulseaudio
-%systemd_user_preun pipewire-pulse.service
-%systemd_user_preun pipewire-pulse.socket
+%systemd_user_preun pipewire-pulse.service pipewire-pulse.socket
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pipewire.git/commitdiff/0f53cc8e5ef9e0423baa0fd10621de965e8673de



More information about the pld-cvs-commit mailing list