use %patch -P N instead of deprecated %patchN

Resolves: RHEL-20479
This commit is contained in:
Zuzana Miklankova 2023-05-16 15:02:36 +02:00
parent f1902c7714
commit dda8a54258
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0

View File

@ -136,15 +136,15 @@ This package contains the analysis program for %{name}.
%prep
%setup -q -a1 -n %{name}-src-%{realver}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%ifarch %{ix86}
%patch4 -p1
%patch -P 4 -p1
%endif
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch -P 5 -p1
%patch -P 6 -p1
%patch -P 7 -p1
# Remove backup-file
rm -f %{name}-doc-%{docver}/sqlite.css~ || :