From 95e42854b8d560dcc4e62d5187916f83ad0bbcaf187d21c0c7b8bd0522e2be60 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 22 Feb 2024 07:56:06 +0000 Subject: [PATCH] - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/package/show/graphics/dcraw?expand=0&rev=58 --- dcraw.changes | 5 +++++ dcraw.spec | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/dcraw.changes b/dcraw.changes index b8786b3..79a7626 100644 --- a/dcraw.changes +++ b/dcraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 07:54:56 UTC 2024 - Michael Vetter + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Aug 7 09:53:25 UTC 2023 - Dirk Müller diff --git a/dcraw.spec b/dcraw.spec index a327fa1..4d5c201 100644 --- a/dcraw.spec +++ b/dcraw.spec @@ -1,7 +1,7 @@ # # spec file for package dcraw # -# Copyright (c) 2023 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 @@ -62,14 +62,14 @@ Command line tools for raw digital photo decoding and processing. %prep %setup -q -n %{name} cp -a %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} . -%patch0 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%patch -P 0 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing -fstack-protector-all"