diff --git a/swing-worker.changes b/swing-worker.changes index 3fa0da2..71af3ea 100644 --- a/swing-worker.changes +++ b/swing-worker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 17:22:22 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Mar 23 05:52:23 UTC 2022 - Fridrich Strba diff --git a/swing-worker.spec b/swing-worker.spec index 626df51..217e8cf 100644 --- a/swing-worker.spec +++ b/swing-worker.spec @@ -1,7 +1,7 @@ # # spec file for package swing-worker # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,8 +62,8 @@ SwingWorker included into Java 1.6. %prep %setup -q -c %{name}-%{version} -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 # remove all third party jars find . -iname '*.jar' | xargs rm -rf cp %{SOURCE1} .