diff --git a/lua-luadbi.changes b/lua-luadbi.changes index 5271426..d4a17e4 100644 --- a/lua-luadbi.changes +++ b/lua-luadbi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 09:57:57 UTC 2024 - Michael Vetter + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Thu Feb 18 15:55:03 UTC 2021 - Callum Farmer diff --git a/lua-luadbi.spec b/lua-luadbi.spec index 922283e..3049663 100644 --- a/lua-luadbi.spec +++ b/lua-luadbi.spec @@ -1,7 +1,7 @@ # # spec file for package lua-luadbi # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,8 +54,7 @@ with native database drivers. But openSUSE version doesn't build with DB2 and Oracle. %prep -%setup -q -n luadbi-%{version} -%patch0 -p1 +%autosetup -p1 -n luadbi-%{version} sed -i \ -e 's:-g -pedantic -Wall -O2:%{optflags} -fPIC -I%{lua_incdir}:g' \