Accepting request 689051 from Java:packages

Disregard the pom parent

OBS-URL: https://build.opensuse.org/request/show/689051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-lang3?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-03-28 21:45:20 +00:00 committed by Git OBS Bridge
commit ebf0e50dc1
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 25 17:41:59 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove pom parent, since we don't use it when not building with
maven
-------------------------------------------------------------------
Mon Feb 4 06:21:14 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -30,12 +30,10 @@ Source1: build.xml
Source2: default.properties
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: apache-commons-parent
BuildRequires: fdupes
BuildRequires: java-devel >= 1.7
BuildRequires: javapackages-local
BuildRequires: junit
Requires: apache-commons-parent
Provides: %{short_name} = %{version}-%{release}
BuildArch: noarch
@ -65,6 +63,9 @@ cp %{SOURCE1} .
cp %{SOURCE2} .
sed -i 's/\r//' *.txt
%pom_remove_parent .
%pom_xpath_inject "pom:project" "<groupId>org.apache.commons</groupId>" .
%build
export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit`
export CLASSPATH=