From 1f752a48f2ceaedcdb7d12436114dc65869a449e59cd4047be4c362964d989cc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 28 Jul 2021 11:25:36 +0000 Subject: [PATCH] Accepting request 908845 from GNOME:STABLE:41 - Adapt xorg-x11-Xvfb BuildRequires on SLE and Leap, whose X has not updated to xorg-x11-server-Xvfb. OBS-URL: https://build.opensuse.org/request/show/908845 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=199 --- gjs.changes | 6 ++++++ gjs.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gjs.changes b/gjs.changes index 8ea6ca4..7ef9858 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 28 09:36:22 UTC 2021 - Yifan Jiang + +- Adapt xorg-x11-Xvfb BuildRequires on SLE and Leap, whose X has + not updated to xorg-x11-server-Xvfb. + ------------------------------------------------------------------- Fri May 14 13:50:21 UTC 2021 - Dominique Leuenberger diff --git a/gjs.spec b/gjs.spec index d336d8c..ec22870 100644 --- a/gjs.spec +++ b/gjs.spec @@ -31,7 +31,11 @@ BuildRequires: meson >= 0.52.0 BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: systemtap-sdt-devel +%if 0%{?sle_version} && 0%{?sle_version} <= 150400 +BuildRequires: xorg-x11-Xvfb +%else BuildRequires: xorg-x11-server-Xvfb +%endif BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(cairo-xlib)