From 6c28f8e3eab20e6fc9e9a562a95b32d4fc8a2458312c5039ba76308246e3e46c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 1 Aug 2017 14:01:48 +0000 Subject: [PATCH] Accepting request 513708 from home:fcrozat:branches:games - Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore since SLE12 SP2). OBS-URL: https://build.opensuse.org/request/show/513708 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=53 --- SDL2.changes | 6 ++++++ SDL2.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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