From 2ec4b2ff256baddcd236867dfa3e6324194c9f0f5bd90639804e277135a2c960 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 20:58:36 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/rxtx-java?expand=0&rev=14 --- rxtx-java.changes | 5 +++++ rxtx-java.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/rxtx-java.changes b/rxtx-java.changes index b78f8af..2992002 100644 --- a/rxtx-java.changes +++ b/rxtx-java.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 20:57:37 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 13 04:33:43 UTC 2023 - Fridrich Strba diff --git a/rxtx-java.spec b/rxtx-java.spec index 461b3bd..32f4146 100644 --- a/rxtx-java.spec +++ b/rxtx-java.spec @@ -1,7 +1,7 @@ # # spec file for package rxtx-java # -# Copyright (c) 2023 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 @@ -84,17 +84,17 @@ the specification for Sun's Java Communications API. %prep %setup -q -n %{src_name}-%{upver}%{prever} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 %if 0%{?mdkversion} -%patch3 -p1 +%patch -P 3 -p1 %endif -%patch4 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 +%patch -P 4 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 +%patch -P 8 -p1 %build export THREADS_FLAG=native