From c8289a687ca28911c8ca5d4fe276bf428df5db383fb63ea615fb575226182231 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 9 May 2014 12:28:25 +0000 Subject: [PATCH] Accepting request 233241 from home:a_jaeger:FactoryFix Use /run/ instead of /var/run. OBS-URL: https://build.opensuse.org/request/show/233241 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=67 --- xdm.changes | 5 +++++ xdm.spec | 4 ++++ 2 files changed, 9 insertions(+) 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