From b38e50882b947db81e79f73e6906482dc9f2265435fa71c229c8e7e8da20404a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 23 May 2020 14:47:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=45 --- SDL_bgi.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 8f397d3..1c76f16 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -25,6 +25,7 @@ License: Zlib AND GPL-2.0-or-later Group: Development/Libraries/X11 URL: http://libXbgi.sf.net/ +#Git-Web: https://github.com/genpfault/sdl-bgi Source: http://downloads.sf.net/libxbgi/%name-%version.tar.gz Source9: %name-rpmlintrc Patch1: sdlbgi-cmake.diff @@ -61,8 +62,7 @@ introduction to SDL-based graphics: SDL and BGI commands can be mixed together. %prep -%setup -q -%patch -P 1 -p1 +%autosetup -p1 %build %cmake @@ -73,6 +73,8 @@ together. b="%buildroot" mkdir -p "$b/%_defaultdocdir" mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/" +# just a forwarder and conflicts with xbgi +rm -v "%buildroot/%_includedir/graphics.h" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig