switch from patchX to patch -P X
This commit is contained in:
parent
e3bd39f52e
commit
55b6de1226
@ -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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user