diff --git a/maven-jar-plugin.changes b/maven-jar-plugin.changes index 09cae42..30dc98c 100644 --- a/maven-jar-plugin.changes +++ b/maven-jar-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 05:59:39 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 20 05:32:35 UTC 2023 - Fridrich Strba diff --git a/maven-jar-plugin.spec b/maven-jar-plugin.spec index b9b6606..6be9041 100644 --- a/maven-jar-plugin.spec +++ b/maven-jar-plugin.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package maven-jar-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 @@ -85,9 +85,9 @@ API documentation for %{name}. %setup -q -n %{base_name}-%{version} %if %{with bootstrap} cp %{SOURCE1} build.xml -%patch0 -p1 +%patch -P 0 -p1 %endif -%patch1 -p1 +%patch -P 1 -p1 # Remove all dependencies with scope test, since a raw xmvn does not hide them %pom_remove_dep -r :::test: