From 5e3c203c5a22e27d7682f836fe4ad9450fb80570 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 4 Jun 2025 09:56:52 +0200 Subject: [PATCH] switch from patchX to patch -P X Related: RHEL-95016 --- chrony.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/chrony.spec b/chrony.spec index a9e680d..ed1caf7 100644 --- a/chrony.spec +++ b/chrony.spec @@ -72,17 +72,17 @@ service to other computers in the network. %{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0} %setup -q -n %{name}-%{version}%{?prerelease} -a 10 %{?gitpatch:%patch0 -p1} -%patch1 -p1 -b .nm-dispatcher-dhcp -%patch2 -p1 -b .keys -%patch3 -p1 -b .services -%patch4 -p1 -b .defconfig -%patch5 -p1 -%patch6 -p1 -b .docrefresh -%patch7 -p1 -%patch8 -p1 +%patch -P 1 -p1 -b .nm-dispatcher-dhcp +%patch -P 2 -p1 -b .keys +%patch -P 3 -p1 -b .services +%patch -P 4 -p1 -b .defconfig +%patch -P 5 -p1 +%patch -P 6 -p1 -b .docrefresh +%patch -P 7 -p1 +%patch -P 8 -p1 pushd clknetsim-*-%{clknetsim_ver}* -%patch20 -R -p1 +%patch -P 20 -R -p1 popd %{?gitpatch: echo %{version}-%{gitpatch} > version.txt}