diff --git a/SDL2.changes b/SDL2.changes index 4637bd6..64cb4c7 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 1 13:14:45 UTC 2017 - fcrozat@suse.com + +- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore + since SLE12 SP2). + ------------------------------------------------------------------- Thu Jun 29 10:50:38 UTC 2017 - schwab@suse.de diff --git a/SDL2.spec b/SDL2.spec index 7630a1d..ecf7b1a 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -40,7 +40,9 @@ BuildRequires: nasm BuildRequires: pkg-config BuildRequires: pkgconfig(alsa) >= 0.9.0 BuildRequires: pkgconfig(dbus-1) +%if !0%{?sle_version} BuildRequires: pkgconfig(fcitx) +%endif BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) @@ -65,9 +67,9 @@ BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(libpulse-simple) >= 0.9 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) -BuildRequires: pkgconfig(wayland-server) %description This is the "Simple DirectMedia Layer" library. It provides a generic @@ -119,6 +121,9 @@ dos2unix COPYING.txt %build # In this instance, we do want --with-pic because of libSDL2main.a. %configure --with-pic \ +%if 0%{?sle_version} + --disable-fcitx \ +%endif --disable-rpath \ --disable-alsa-shared \ --disable-video-directfb