From fc7659d82f2e89fb9b346e9358cb64c3adbb271a469f3bb9c652c5473316e359 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 22 May 2024 11:16:31 +0000 Subject: [PATCH] Accepting request 1149568 from home:pgajdos:m - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1149568 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=223 --- mono-core.changes | 5 +++++ mono-core.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mono-core.changes b/mono-core.changes index 2751884..11fe780 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 15:33:26 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Feb 16 23:35:19 UTC 2023 - Stefan BrĂ¼ns diff --git a/mono-core.spec b/mono-core.spec index 5d27915..5df1ecc 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -204,14 +204,14 @@ technologies that have been submitted to the ECMA for standardization. %prep %setup -q -n mono-%{version}.%{version_suffix} -%patch14 -p1 +%patch -P 14 -p1 %if "%roslyn" == "no" -%patch15 -p1 +%patch -P 15 -p1 %else -%patch20 -p1 +%patch -P 20 -p1 %endif -%patch22 -p1 -%patch23 -p1 +%patch -P 22 -p1 +%patch -P 23 -p1 %build %define _lto_cflags %{nil}