From 66ce15e688cbdc290b218f1364a35af5d06926ecd898e8911c23413598d205ba Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 25 Apr 2021 07:30:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-lang3?expand=0&rev=25 --- apache-commons-lang3.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index 76d9c85..6127886 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -61,9 +61,13 @@ cp %{SOURCE1} . cp %{SOURCE2} . sed -i 's/\r//' *.txt -%pom_remove_parent . -%pom_remove_plugin :maven-checkstyle-plugin . -%pom_xpath_inject "pom:project" "org.apache.commons" . +# Not needed since we don't build with maven +%pom_remove_parent +%pom_xpath_inject "pom:project" "org.apache.commons" +%pom_xpath_remove pom:project/pom:reporting +%pom_xpath_remove pom:project/pom:build +%pom_xpath_remove pom:project/pom:profiles +%pom_remove_dep :::test %build export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit`