From 55b6de12265b76d0f989c382c0058dbffb783f49 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 10 May 2023 15:51:46 +0200 Subject: [PATCH] switch from patchX to patch -P X --- chrony.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrony.spec b/chrony.spec index efe9f89..e6d0be8 100644 --- a/chrony.spec +++ b/chrony.spec @@ -55,8 +55,8 @@ service to other computers in the network. %prep %{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0} %setup -q -n %{name}-%{version}%{?prerelease} -a 10 -%{?gitpatch:%patch0 -p1} -%patch1 -p1 -b .nm-dispatcher-dhcp +%{?gitpatch:%patch -P 0 -p1} +%patch -P 1 -p1 -b .nm-dispatcher-dhcp %{?gitpatch: echo %{version}-%{gitpatch} > version.txt}