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