Accepting request 1148398 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-doxia-sitetools?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-02-21 16:57:46 +00:00 committed by Git OBS Bridge
commit a37d690263
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 05:58:12 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Sat Sep 23 18:10:46 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package maven-doxia-sitetools
#
# 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
@ -89,7 +89,7 @@ API documentation for %{name}.
%prep
%setup -q -n doxia-%{subproj}-%{version} -a1
%patch1 -p1
%patch -P 1 -p1
# migrate to maven 3
%pom_xpath_set //pom:mavenVersion 3.8.6 doxia-integration-tools
@ -103,9 +103,6 @@ API documentation for %{name}.
%pom_remove_dep net.sourceforge.htmlunit:htmlunit doxia-site-renderer/pom.xml
%pom_remove_dep -r :velocity-tools
%pom_xpath_inject "pom:plugin[pom:artifactId[text()='modello-maven-plugin']]/pom:configuration" \
"<useJava5>true</useJava5>" doxia-decoration-model
rm -rf $(find -type d -name itext)
%pom_remove_dep -r :doxia-module-itext