From c545c6bb8b46e6e60f6c0eec4568f22aab94c5db646e8df44d2f6102c6d699d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Wed, 26 Jul 2017 19:15:22 +0000 Subject: [PATCH] Accepting request 512441 from home:fcrozat:branches:GNOME:Factory - Do not build wayland subpackage on s390/s390x, xwayland doesn't exist there [bsc#1047173]. OBS-URL: https://build.opensuse.org/request/show/512441 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=267 --- gnome-session.changes | 6 ++++++ gnome-session.spec | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/gnome-session.changes b/gnome-session.changes index fcc7d66..a14f0cf 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 24 15:03:23 UTC 2017 - fcrozat@suse.com + +- Do not build wayland subpackage on s390/s390x, xwayland doesn't + exist there [bsc#1047173]. + ------------------------------------------------------------------- Sat Apr 15 21:19:47 UTC 2017 - zaitor@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index 205e61e..34f7c94 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -78,6 +78,7 @@ Requires: gnome-shell %description default-session This package contains the definition of the default GNOME session. +%ifnarch s390 s390x %package wayland Summary: Session Manager for GNOME -- Wayland session Group: System/GUI/GNOME @@ -87,6 +88,7 @@ Requires: xorg-x11-server-wayland %description wayland This package contains the definition of the default GNOME session on Wayland. +%endif %package core Summary: Session Manager for GNOME -- Minimal Version @@ -128,6 +130,10 @@ install -m644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/gnome.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome.desktop %find_lang %{name}-3.0 %{?no_lang_C} %fdupes %{buildroot} +# remove wayland files on s390/s390x +%ifarch s390 s390x +rm -fr %{buildroot}%{_datadir}/wayland-sessions +%endif %post %desktop_database_post @@ -156,12 +162,14 @@ install -m644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/gnome.desktop %{_datadir}/gnome-session/sessions/gnome.session %{_datadir}/gnome-session/sessions/gnome-dummy.session +%ifnarch s390 s390x %files wayland %defattr (-, root, root) %dir %{_datadir}/wayland-sessions %{_datadir}/wayland-sessions/gnome.desktop # Disabled as wayland is now the default session again. #{_datadir}/wayland-sessions/gnome-wayland.desktop +%endif %files core %defattr (-, root, root)