1
0

Accepting request 620752 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-jxpath?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2018-07-07 19:58:09 +00:00 committed by Git OBS Bridge
commit 47fb7b9416
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 15 10:47:35 UTC 2018 - fstrba@suse.com
- Build with source and target 8
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 21 07:54:40 UTC 2017 - tchvatal@suse.com Sun May 21 07:54:40 UTC 2017 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-commons-jxpath # spec file for package apache-commons-jxpath
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -32,6 +32,7 @@ Patch1: build.xml.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: apache-commons-beanutils BuildRequires: apache-commons-beanutils
BuildRequires: el_api >= 3.0 BuildRequires: el_api >= 3.0
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools BuildRequires: javapackages-tools
BuildRequires: jdom BuildRequires: jdom
BuildRequires: jsp BuildRequires: jsp
@ -39,7 +40,7 @@ BuildRequires: junit
BuildRequires: servlet >= 3.0 BuildRequires: servlet >= 3.0
Requires: apache-commons-beanutils Requires: apache-commons-beanutils
Requires: apache-commons-logging Requires: apache-commons-logging
Requires: java >= 1.6.0 Requires: java >= 1.8
Requires: jdom >= 1.0 Requires: jdom >= 1.0
Provides: jakarta-%{short_name} = %{version}-%{release} Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version}-%{release}
@ -66,6 +67,7 @@ export CLASSPATH=$(build-classpath \
target/commons-jxpath.jar \ target/commons-jxpath.jar \
):target/classes:target/test-classes ):target/classes:target/test-classes
ant -Dmaven.mode.offline=true jar \ ant -Dmaven.mode.offline=true jar \
-Dant.build.javac.source=8 -Dant.build.javac.target=8 \
-lib %{_datadir}/java -lib %{_datadir}/java
%install %install