From cb472861af625b51a99afc3fe7ba632dd3b7c09d2892204c2c5ae86380716e68 Mon Sep 17 00:00:00 2001 From: Emil Penchev Date: Mon, 11 Mar 2024 13:25:26 +0000 Subject: [PATCH] Accepting request 1151134 from home:dimstar:rpm4.20:c Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151134 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=191 --- corosync.changes | 6 ++++++ corosync.spec | 12 ++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/corosync.changes b/corosync.changes index 18e35e8..31caf74 100644 --- a/corosync.changes +++ b/corosync.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 10:52:30 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Thu Jan 25 09:04:02 UTC 2024 - Dominique Leuenberger diff --git a/corosync.spec b/corosync.spec index 084a04c..666697a 100644 --- a/corosync.spec +++ b/corosync.spec @@ -121,16 +121,8 @@ BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build %prep -%setup -q -n %{name}-%{version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 +%autosetup -p1 -n %{name}-%{version} + rm -f .git* echo %{version} > .tarball-version echo %{version} > .version