diff --git a/vtk.changes b/vtk.changes index 6ab0ff4..c808c59 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:26:32 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Sun Dec 31 19:55:50 UTC 2023 - Stefan BrĂ¼ns diff --git a/vtk.spec b/vtk.spec index deb473b..b4471e2 100644 --- a/vtk.spec +++ b/vtk.spec @@ -397,16 +397,16 @@ languages. %prep %setup -n VTK-%{version} -%patch1 -p1 -%patch2 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 %if %{with gles} -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%patch -P 10 -p1 %endif -%patch17 -p1 -%patch18 -p1 +%patch -P 17 -p1 +%patch -P 18 -p1 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata # otherwise it will break on symlinks.