From 693a67a72fcd9ca2d4305f090d22462bc91c3a1064412381ef4c2c2c8fd8927f Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 1 Mar 2024 12:37:33 +0000 Subject: [PATCH] Accepting request 1149867 from home:dimstar:rpm4.20:r Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149867 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rttr?expand=0&rev=14 --- rttr.changes | 5 +++++ rttr.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/rttr.changes b/rttr.changes index 1f54183..7e77194 100644 --- a/rttr.changes +++ b/rttr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 23 11:50:43 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Jun 27 14:25:10 UTC 2019 - Luca Beltrame diff --git a/rttr.spec b/rttr.spec index c597450..3d1408e 100644 --- a/rttr.spec +++ b/rttr.spec @@ -51,17 +51,17 @@ library itself, which is written in C++. %prep %setup -q -n%{name}-%{version} %if 0%{?suse_version} < 1500 -%patch0 -p1 +%patch -P 0 -p1 %endif -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 #only apply move elision to gcc versions that support it %if 0%{?suse_version} >= 1500 -%patch6 -p1 +%patch -P 6 -p1 %endif %build