diff --git a/50-run-directory.conf b/50-run-directory.conf new file mode 100644 index 0000000..52420c4 --- /dev/null +++ b/50-run-directory.conf @@ -0,0 +1,2 @@ +[LightDM] +run-directory=/run/lightdm diff --git a/lightdm-tmpfiles.conf b/lightdm-tmpfiles.conf index dafb935..ed0cc52 100644 --- a/lightdm-tmpfiles.conf +++ b/lightdm-tmpfiles.conf @@ -1 +1 @@ -d /var/run/lightdm 0775 lightdm lightdm +d /run/lightdm 0775 lightdm lightdm diff --git a/lightdm.spec b/lightdm.spec index c6273ad..1e8f713 100644 --- a/lightdm.spec +++ b/lightdm.spec @@ -11,7 +11,7 @@ Name: lightdm Summary: A cross-desktop Display Manager Version: 1.30.0 -Release: 2%{?dist} +Release: 3%{?dist} %if 0%{?rhel} >= 8 # Exclude failing arch @@ -41,6 +41,7 @@ Source23: 50-user-authority-in-system-dir.conf Source24: 50-xserver-command.conf Source25: 50-disable-guest.conf Source26: 50-remove-wayland-session.conf +Source27: 50-run-directory.conf # Upstreamed: Patch0: %{giturl}/pull/5.patch#/lightdm-1.25.1-disable_dmrc.patch @@ -184,7 +185,7 @@ NOCONFIGURE=1 ./autogen.sh %{buildroot}%{_datadir}/lightdm/remote-sessions/ \ %{buildroot}%{_datadir}/xgreeters/ \ %{buildroot}%{_localstatedir}/cache/lightdm/ \ - %{buildroot}%{_localstatedir}/run/lightdm/ \ + %{buildroot}%{_rundir}/lightdm/ \ %{buildroot}%{_localstatedir}/log/lightdm/ \ %{buildroot}%{_localstatedir}/lib/lightdm/ \ %{buildroot}%{_localstatedir}/lib/lightdm-data/ @@ -206,7 +207,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la %{__install} -Dpm 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/logrotate.d/lightdm %{__install} -Dpm 0644 %{SOURCE15} %{buildroot}%{_datadir}/polkit-1/rules.d/lightdm.rules %{__install} -pm 0644 %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \ - %{SOURCE24} %{SOURCE25} %{SOURCE26} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/ + %{SOURCE24} %{SOURCE25} %{SOURCE26} %{SOURCE27} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/ # Move DBus config to proper location. # why is this needed? -- rex @@ -259,7 +260,7 @@ fi %dir %{_datadir}/bash-completion/ %dir %{_datadir}/bash-completion/completions/ %dir %{_datadir}/xgreeters/ -%ghost %dir %{_localstatedir}/run/lightdm +%ghost %dir %{_rundir}/lightdm %{_bindir}/dm-tool %{_sbindir}/lightdm %{_libexecdir}/lightdm-guest-session @@ -317,6 +318,9 @@ fi %changelog +* Mon Oct 21 2019 Leigh Scott - 1.30.0-3 +- Switch from /var/run to /run directory + * Thu Jul 25 2019 Fedora Release Engineering - 1.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild