diff --git a/apache-commons-cli-build.xml b/apache-commons-cli-build.xml new file mode 100644 index 0000000..fc144d1 --- /dev/null +++ b/apache-commons-cli-build.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-commons-cli.spec b/apache-commons-cli.spec index e5004cf..b4f4bee 100644 --- a/apache-commons-cli.spec +++ b/apache-commons-cli.spec @@ -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 diff --git a/build.xml.tar.bz2 b/build.xml.tar.bz2 deleted file mode 100644 index d092964..0000000 --- a/build.xml.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4e4b0af7f48d4f5e30fd3c65775ba937ef69993c0ccb37e727492d237517428 -size 3472