Accepting request 689039 from Java:packages

Disregard the pom parent

OBS-URL: https://build.opensuse.org/request/show/689039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-cli?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2019-03-27 15:22:17 +00:00 committed by Git OBS Bridge
commit 76df5fe8e1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 25 17:19:16 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove pom parent, since we don't use it when not building with
maven
-------------------------------------------------------------------
Tue Feb 5 13:30:36 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

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