From 9216c67eaa4734907c773ca0497587821b358a10d96033b203c8f1e7c18c26a0 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 1 Mar 2024 15:03:00 +0000 Subject: [PATCH] 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 --- libquvi.changes | 5 +++++ libquvi.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libquvi.changes b/libquvi.changes index ade8e32..a2a025c 100644 --- a/libquvi.changes +++ b/libquvi.changes @@ -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 diff --git a/libquvi.spec b/libquvi.spec index 450ef36..e6bb021 100644 --- a/libquvi.spec +++ b/libquvi.spec @@ -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"