Fridrich Strba 2019-03-25 17:19:52 +00:00 committed by Git OBS Bridge
parent a7795341bb
commit a05bd95fbe
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> 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 Source1: build.xml.tar.bz2
Patch0: CLI-253-workaround.patch Patch0: CLI-253-workaround.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: apache-commons-parent
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: java-devel >= 1.8 BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local BuildRequires: javapackages-local
Requires: apache-commons-parent
Requires: java >= 1.8 Requires: java >= 1.8
Provides: jakarta-%{short_name} = %{version}-%{release} Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version} 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 %setup -q -n %{short_name}-%{version}-src -a1
%patch0 -p1 %patch0 -p1
%pom_remove_parent
%build %build
ant -Dmaven.mode.offline=true package javadoc \ ant -Dmaven.mode.offline=true package javadoc \
-Dmaven.test.skip=true \ -Dmaven.test.skip=true \