From c62370c5d0ab5ea8472a3e7d9c66470595dea6bec8231e06414b7a5d551e6807 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 14:50:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-compiler-plugin?expand=0&rev=33 --- maven-compiler-plugin.changes | 5 +++++ maven-compiler-plugin.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/maven-compiler-plugin.changes b/maven-compiler-plugin.changes index 0292494..2ad3cb5 100644 --- a/maven-compiler-plugin.changes +++ b/maven-compiler-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 14:50:23 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 20 05:09:00 UTC 2023 - Fridrich Strba diff --git a/maven-compiler-plugin.spec b/maven-compiler-plugin.spec index 5a22a86..095898f 100644 --- a/maven-compiler-plugin.spec +++ b/maven-compiler-plugin.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package maven-compiler-plugin # -# 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 @@ -29,7 +29,7 @@ Summary: Maven Compiler Plugin License: Apache-2.0 Group: Development/Libraries/Java URL: https://maven.apache.org/plugins/maven-compiler-plugin -Source0: https://dlcdn.apache.org/maven/plugins/%{base_name}-%{version}-source-release.zip +Source0: https://archive.apache.org/dist/maven/plugins/%{base_name}-%{version}-source-release.zip Source1: %{base_name}-build.xml Patch0: %{base_name}-bootstrap-resources.patch BuildRequires: javapackages-local @@ -86,7 +86,7 @@ API documentation for %{name}. %setup -q -n %{base_name}-%{version} %if %{with bootstrap} cp %{SOURCE1} build.xml -%patch0 -p1 +%patch -P 0 -p1 %endif %pom_remove_dep :::test