From bf35a7e3d2fc9baa0fa9cafa54d0eb99818a4691354ca05aceed782c4ecf1023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 24 Feb 2024 10:59:15 +0000 Subject: [PATCH] Accepting request 1148016 from home:dimstar:rpm4.20:v Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1148016 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=191 --- vtk.changes | 5 +++++ vtk.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) 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.