Remove deprecated %patchN syntax

[skip changelog]

Relates: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/5YUJWTUJK4JA26YP2VD46HOCQ6UZXMQD/
This commit is contained in:
Maxwell G 2024-01-12 20:42:10 +00:00
parent e26f745454
commit 48efc1e161
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -39,13 +39,13 @@ BuildRequires: tpm2-tss-devel
%prep
%setup -q -n %{name}-rs-%{version}
%patch0 -p1
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch -P0 -p1
%patch -P1 -p1
%patch -P3 -p1
%patch -P4 -p1
%if 0%{?rhel}
%patch2 -p1
%patch -P2 -p1
%cargo_prep -V 1
%else
%cargo_prep