forked from pool/apache-commons-cli
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user