Accepting request 1153788 from home:pgajdos:l

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1153788
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=26
This commit is contained in:
2024-03-01 15:03:00 +00:00
committed by Git OBS Bridge
parent aee32ed514
commit 9216c67eaa
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 1 08:55:44 UTC 2024 - pgajdos@suse.com
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Apr 22 13:56:03 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -74,12 +74,12 @@ URLs with C API.
%prep
%setup -q
if test -f %{_sourcedir}/%{name}.changes ; then
%patch0
%patch -P 0
echo "timestamp for BUILD_TIME" >stamp-build-time
touch -d "$(sed -n '2s/ - .*$//p' <%{_sourcedir}/%{name}.changes)" stamp-build-time
fi
%patch1 -p1
%patch2 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%build
export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE"