Accepting request 529029 from home:xiaoguang_wang:branches:GNOME:Factory

- Enable SLE-Classic session working on Wayland.
  Add sle-classic.desktop in folder '{_datadir}/wayland-sessions/'
  (bsc#1058797)

OBS-URL: https://build.opensuse.org/request/show/529029
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=138
This commit is contained in:
Dominique Leuenberger 2017-09-28 12:08:49 +00:00 committed by Git OBS Bridge
parent 26d91566ea
commit 388f4b2295
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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