switch from patchX to patch -P X

This commit is contained in:
Miroslav Lichvar 2023-05-10 15:51:46 +02:00
parent e3bd39f52e
commit 55b6de1226

View File

@ -55,8 +55,8 @@ service to other computers in the network.
%prep %prep
%{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0} %{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0}
%setup -q -n %{name}-%{version}%{?prerelease} -a 10 %setup -q -n %{name}-%{version}%{?prerelease} -a 10
%{?gitpatch:%patch0 -p1} %{?gitpatch:%patch -P 0 -p1}
%patch1 -p1 -b .nm-dispatcher-dhcp %patch -P 1 -p1 -b .nm-dispatcher-dhcp
%{?gitpatch: echo %{version}-%{gitpatch} > version.txt} %{?gitpatch: echo %{version}-%{gitpatch} > version.txt}