From 5a074bb7f114bcd50d091e21c3d3f9fe36787d24637e776f8368eb038bf6a2b9 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 08:42:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/dom2-core-tests?expand=0&rev=19 --- dom2-core-tests.changes | 5 +++++ dom2-core-tests.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dom2-core-tests.changes b/dom2-core-tests.changes index 27b71f9..1afa799 100644 --- a/dom2-core-tests.changes +++ b/dom2-core-tests.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 08:42:37 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed May 16 11:52:32 UTC 2018 - fstrba@suse.com diff --git a/dom2-core-tests.spec b/dom2-core-tests.spec index 05124a5..36b970b 100644 --- a/dom2-core-tests.spec +++ b/dom2-core-tests.spec @@ -1,7 +1,7 @@ # # spec file for package dom2-core-tests # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,7 +23,7 @@ Release: 0 Summary: DOM Conformance Test Suite License: W3C Group: Development/Libraries/Java -Url: http://www.w3.org/DOM/Test/ +URL: http://www.w3.org/DOM/Test/ Source0: http://www.w3.org/2004/04/dom2-core-tests-20040405.jar Source1: LICENSE.html Patch0: dom2-core-tests-build_xml.patch @@ -47,7 +47,7 @@ ensure stability and correctness. %setup -q -c rm -rf junit find . -name "*.class" -exec rm {} \; -%patch0 -b .orig +%patch -P 0 -b .orig cp %{SOURCE1} . # not compatible with junit 4 rm -rf org/w3c/domts/JUnitRunner.java