Fridrich Strba 2024-02-21 17:22:54 +00:00 committed by Git OBS Bridge
parent 2b3fcbd0aa
commit 74172772eb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 17:22:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 23 05:52:23 UTC 2022 - Fridrich Strba <fstrba@suse.com> Wed Mar 23 05:52:23 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package swing-worker # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -62,8 +62,8 @@ SwingWorker included into Java 1.6.
%prep %prep
%setup -q -c %{name}-%{version} %setup -q -c %{name}-%{version}
%patch0 -p1 %patch -P 0 -p1
%patch1 -p1 %patch -P 1 -p1
# remove all third party jars # remove all third party jars
find . -iname '*.jar' | xargs rm -rf find . -iname '*.jar' | xargs rm -rf
cp %{SOURCE1} . cp %{SOURCE1} .