From 59563cec3dcda004c752d5eeeeda3e06329c227ccf6a447134cafcfe1f5a50c9 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 12 Apr 2024 11:33:57 +0000
Subject: [PATCH] rerun autoreconf, because LT_CURRENT changes/changed

OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=30
---
 SDL_gfx.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/SDL_gfx.spec b/SDL_gfx.spec
index 89cd97a..c406d84 100644
--- a/SDL_gfx.spec
+++ b/SDL_gfx.spec
@@ -27,8 +27,10 @@ URL:            http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
 Source:         http://www.ferzkopp.net/Software/SDL_gfx-2.0/%name-%version.tar.gz
 Source2:        baselibs.conf
 #https://sourceforge.net/p/sdlgfx/code/HEAD/tree/ChangeLog
+BuildRequires:  automake
 BuildRequires:  dos2unix
-BuildRequires:  pkgconfig
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(sdl)
 
 %description
@@ -71,13 +73,14 @@ The library is backwards compatible to the above mentioned code. It is
 written in plain C and can be used in C++ code.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
+autoreconf -fi
 # MMX code has a problem with uninitialized variables; we would only turn it
 # on for x86_64 anyway - but that one can use SSE instead.
 %configure --disable-static --disable-mmx
-make %{?_smp_mflags}
+%make_build
 dos2unix README
 chmod 644 LICENSE AUTHORS ChangeLog NEWS README