From 37afeb8dbbe150dfa7b512b093622baea4970dd8180b3e16afcff0b69b69b861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 11 Sep 2018 07:30:21 +0000 Subject: [PATCH] Accepting request 633973 from home:zhengqiang:branches:X11:windowmanagers - Delete icewm.desktop and rename icewm-session.desktop to icewm.desktop to fix the upgrade issue ( bsc#1096917 ). OBS-URL: https://build.opensuse.org/request/show/633973 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=95 --- icewm.changes | 6 ++++++ icewm.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/icewm.changes b/icewm.changes index 2ed4634..d5736d4 100644 --- a/icewm.changes +++ b/icewm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 7 07:49:13 UTC 2018 - qzheng@suse.com + +- Delete icewm.desktop and rename icewm-session.desktop to + icewm.desktop to fix the upgrade issue ( bsc#1096917 ). + ------------------------------------------------------------------- Tue Mar 6 17:00:08 CET 2018 - tiwai@suse.de diff --git a/icewm.spec b/icewm.spec index 7c4d6f9..8cd1353 100644 --- a/icewm.spec +++ b/icewm.spec @@ -229,6 +229,9 @@ done %suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/icewm-session.desktop +mv -f %{buildroot}%{_datadir}/xsessions/icewm-session.desktop %{buildroot}%{_datadir}/xsessions/icewm.desktop +ln -s icewm.desktop %{buildroot}%{_datadir}/xsessions/icewm-session.desktop + touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop