diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index 44d48ca..30f7143 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 27 08:37:53 UTC 2017 - xwang@suse.com + +- Enable SLE-Classic session working on Wayland. + Add sle-classic.desktop in folder '{_datadir}/wayland-sessions/' + (bsc#1058797) + ------------------------------------------------------------------- Fri Sep 22 08:44:34 UTC 2017 - dimstar@opensuse.org diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 028ac37..64c6792 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -126,6 +126,8 @@ make %{?_smp_mflags} %find_lang %{name} %{?no_lang_C} %if !0%{?is_opensuse} install -m0644 %{SOURCE2} %{buildroot}/%{_datadir}/xsessions/sle-classic.desktop +install -d -m755 %{buildroot}%{_datadir}/wayland-sessions +install -m0644 %{SOURCE2} %{buildroot}/%{_datadir}/wayland-sessions/sle-classic.desktop # Install SLE theme tar -xzvf %{SOURCE3} install -d %{buildroot}%{_datadir}/gnome-shell/theme @@ -147,7 +149,6 @@ ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadi --remove default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop %endif - %files common %defattr(-,root,root) %doc COPYING README.SUSE @@ -181,6 +182,8 @@ ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadi %if !0%{?is_opensuse} %{_datadir}/xsessions/default.desktop %{_datadir}/xsessions/sle-classic.desktop +%dir %{_datadir}/wayland-sessions +%{_datadir}/wayland-sessions/sle-classic.desktop %{_datadir}/gnome-shell/theme/sle-background.png %ghost %{_sysconfdir}/alternatives/default-xsession.desktop %endif