diff --git a/xdm.changes b/xdm.changes index 0a9ce12..a20a329 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 9 11:59:21 UTC 2014 - aj@suse.com + +- Use /run/ instead of /var/run. + ------------------------------------------------------------------- Mon Mar 24 12:01:16 UTC 2014 - sndirsch@suse.com diff --git a/xdm.spec b/xdm.spec index c35e696..bdbb3bf 100644 --- a/xdm.spec +++ b/xdm.spec @@ -208,7 +208,11 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm %{_localstatedir}/adm/fillup-templates/sysconfig.displaymanager %{_localstatedir}/lib/xdm/authdir/ %ghost %{_localstatedir}/log/xdm.errors +%if %with_systemd +%ghost /run/xdm.pid +%else %ghost %{_localstatedir}/run/xdm.pid +%endif %{_bindir}/chooser %{_bindir}/xdm %{_bindir}/xdmshell