From a05bd95fbe114b5570f20259ed625422e9a83441ed52f717059223a473e1f538 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 25 Mar 2019 17:19:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-cli?expand=0&rev=28 --- apache-commons-cli.changes | 6 ++++++ apache-commons-cli.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apache-commons-cli.changes b/apache-commons-cli.changes index df3e18c..d62fd26 100644 --- a/apache-commons-cli.changes +++ b/apache-commons-cli.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 25 17:19:16 UTC 2019 - Fridrich Strba + +- Remove pom parent, since we don't use it when not building with + maven + ------------------------------------------------------------------- Tue Feb 5 13:30:36 UTC 2019 - Jan Engelhardt diff --git a/apache-commons-cli.spec b/apache-commons-cli.spec index 95135ea..0b25b15 100644 --- a/apache-commons-cli.spec +++ b/apache-commons-cli.spec @@ -29,11 +29,9 @@ Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_n Source1: build.xml.tar.bz2 Patch0: CLI-253-workaround.patch BuildRequires: ant -BuildRequires: apache-commons-parent BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local -Requires: apache-commons-parent Requires: java >= 1.8 Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version} @@ -58,6 +56,8 @@ This package contains the API documentation for %{name}. %setup -q -n %{short_name}-%{version}-src -a1 %patch0 -p1 +%pom_remove_parent + %build ant -Dmaven.mode.offline=true package javadoc \ -Dmaven.test.skip=true \