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