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)