From e55f20b0374328d65ba9891b19007a61697455208fda1790b2ba427bba80ea81 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 05:58:18 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-doxia-sitetools?expand=0&rev=18 --- maven-doxia-sitetools.changes | 5 +++++ maven-doxia-sitetools.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/maven-doxia-sitetools.changes b/maven-doxia-sitetools.changes index 4b415a6..ff225d2 100644 --- a/maven-doxia-sitetools.changes +++ b/maven-doxia-sitetools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 05:58:12 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Sat Sep 23 18:10:46 UTC 2023 - Fridrich Strba diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec index 0c73ae1..d19262b 100644 --- a/maven-doxia-sitetools.spec +++ b/maven-doxia-sitetools.spec @@ -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 From 0e26009eed9ca9afb5f9ec2d27288aee0a96a688f8fa6d174232f2efca48c71d Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 06:04:20 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-doxia-sitetools?expand=0&rev=19 --- maven-doxia-sitetools.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec index d19262b..ac4341c 100644 --- a/maven-doxia-sitetools.spec +++ b/maven-doxia-sitetools.spec @@ -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" \ - "true" doxia-decoration-model - rm -rf $(find -type d -name itext) %pom_remove_dep -r :doxia-module-itext