%make_install
-mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants
-mkdir -p %{buildroot}%{_unitdir_user}/sockets.target.wants
-install -m 0644 %SOURCE101 %{buildroot}%{_unitdir_user}/launchpad-process-pool.service
-install -m 0644 %SOURCE102 %{buildroot}%{_unitdir_user}/launchpad-process-pool.socket
-ln -sf ../launchpad-process-pool.socket %{buildroot}%{_unitdir_user}/sockets.target.wants/launchpad-process-pool.socket
-ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.target.wants/launchpad-process-pool.service
+mkdir -p %{buildroot}%{_userunitdir}/basic.target.wants
+mkdir -p %{buildroot}%{_userunitdir}/sockets.target.wants
+install -m 0644 %SOURCE101 %{buildroot}%{_userunitdir}/launchpad-process-pool.service
+install -m 0644 %SOURCE102 %{buildroot}%{_userunitdir}/launchpad-process-pool.socket
+ln -sf ../launchpad-process-pool.socket %{buildroot}%{_userunitdir}/sockets.target.wants/launchpad-process-pool.socket
+ln -sf ../launchpad-process-pool.service %{buildroot}%{_userunitdir}/basic.target.wants/launchpad-process-pool.service
%post
ln -sf /usr/bin/false /usr/bin/process-pool
%manifest launchpad.manifest
%license LICENSE
%{_prefix}/share/aul/default.debugger
-%{_unitdir_user}/launchpad-process-pool.service
-%{_unitdir_user}/launchpad-process-pool.socket
-%{_unitdir_user}/sockets.target.wants/launchpad-process-pool.socket
-%{_unitdir_user}/basic.target.wants/launchpad-process-pool.service
+%{_userunitdir}/launchpad-process-pool.service
+%{_userunitdir}/launchpad-process-pool.socket
+%{_userunitdir}/sockets.target.wants/launchpad-process-pool.socket
+%{_userunitdir}/basic.target.wants/launchpad-process-pool.service
%{_bindir}/launchpad-process-pool
%{_prefix}/share/aul/launchpad.conf
%{_sysconfdir}/package-manager/parserlib/liblaunchpad-parser.so