Accepting request 1148384 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-jar-plugin?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2024-02-21 16:57:41 +00:00 committed by Git OBS Bridge
commit ab63e95c12
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 05:59:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Wed Sep 20 05:32:35 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -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: