2021-02-12 13:11:04 +00:00
committed by Git OBS Bridge
parent e455110afc
commit 01351b5130
3 changed files with 132 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ License: Apache-2.0
Group: Development/Libraries/Java
URL: http://commons.apache.org/%{base_name}/
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml.tar.bz2
Source1: %{name}-build.xml
Patch0: CLI-253-workaround.patch
BuildRequires: ant
BuildRequires: fdupes
@@ -51,15 +51,14 @@ Obsoletes: jakarta-%{short_name}-javadoc < %{version}-%{release}
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src -a1
%setup -q -n %{short_name}-%{version}-src
cp %{SOURCE1} build.xml
%patch0 -p1
%pom_remove_parent
%build
ant -Dmaven.mode.offline=true package javadoc \
-Dmaven.test.skip=true \
-lib %{_datadir}/java
%ant package javadoc
%install
# jars