diff --git a/aqute-bnd.changes b/aqute-bnd.changes index 2eff192..7840424 100644 --- a/aqute-bnd.changes +++ b/aqute-bnd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:31:03 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 18 05:23:18 UTC 2023 - Fridrich Strba diff --git a/aqute-bnd.spec b/aqute-bnd.spec index cc0e44d..67587ca 100644 --- a/aqute-bnd.spec +++ b/aqute-bnd.spec @@ -1,7 +1,7 @@ # # spec file for package aqute-bnd # -# 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 @@ -86,11 +86,11 @@ mkdir -p lib build-jar-repository -s lib \ slf4j/api slf4j/simple osgi-annotation osgi-core osgi-compendium ant jline -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 # the commands pull in more dependencies than we want (felix-resolver, jetty) rm biz.aQute.bnd/src/aQute/bnd/main/{ExportReportCommand,MbrCommand,RemoteCommand,ReporterLogger,ResolveCommand,Shell}.java diff --git a/bnd-maven-plugin.changes b/bnd-maven-plugin.changes index 07213a0..a178ecf 100644 --- a/bnd-maven-plugin.changes +++ b/bnd-maven-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:31:04 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 18 05:23:18 UTC 2023 - Fridrich Strba diff --git a/bnd-maven-plugin.spec b/bnd-maven-plugin.spec index ccf7a98..b9909c6 100644 --- a/bnd-maven-plugin.spec +++ b/bnd-maven-plugin.spec @@ -1,7 +1,7 @@ # # spec file for package bnd-maven-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 @@ -51,11 +51,11 @@ API documentation for %{name}. %prep %setup -q -n bnd-%{version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 cp -r biz.aQute.bnd.maven/src/aQute/bnd/maven/lib/configuration maven/bnd-maven-plugin/src/main/java/aQute/bnd/maven/lib cp -r biz.aQute.bnd.maven/src/aQute/bnd/maven/lib/executions maven/bnd-maven-plugin/src/main/java/aQute/bnd/maven/lib