forked from pool/adaptx
- Do not require the builddeps, only the tools we really use
OBS-URL: https://build.opensuse.org/package/show/Java:packages/adaptx?expand=0&rev=16
This commit is contained in:
parent
15dffcb160
commit
0ddb7e6974
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 19 11:39:08 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Do not require the builddeps, only the tools we really use
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 4 16:48:19 UTC 2014 - p.drouand@gmail.com
|
Thu Dec 4 16:48:19 UTC 2014 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package adaptx
|
# spec file for package adaptx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@ -33,8 +33,6 @@ BuildRequires: log4j
|
|||||||
BuildRequires: xerces-j2
|
BuildRequires: xerces-j2
|
||||||
BuildRequires: xerces-j2-xml-apis
|
BuildRequires: xerces-j2-xml-apis
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
Requires: ant >= 1.6
|
|
||||||
Requires: javapackages-tools
|
|
||||||
Requires: log4j
|
Requires: log4j
|
||||||
Requires: xerces-j2
|
Requires: xerces-j2
|
||||||
Requires: xml-commons-apis
|
Requires: xml-commons-apis
|
||||||
@ -71,11 +69,10 @@ done
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
perl -p -i -e 's|classic|modern|' src/build.xml
|
perl -p -i -e 's|classic|modern|' src/build.xml
|
||||||
#export CLASSPATH=$(build-classpath js log4j xerces-j2 xml-commons-apis)
|
|
||||||
export CLASSPATH=$(build-classpath xml-commons-apis log4j xerces-j2 xerces-j2-xml-apis)
|
export CLASSPATH=$(build-classpath xml-commons-apis log4j xerces-j2 xerces-j2-xml-apis)
|
||||||
ant -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -buildfile src/build.xml jar javadoc
|
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -buildfile src/build.xml jar javadoc
|
||||||
CLASSPATH=$CLASSPATH:dist/adaptx_%{version}.jar
|
CLASSPATH=$CLASSPATH:dist/adaptx_%{version}.jar
|
||||||
ant -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -buildfile src/build.xml doc
|
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -buildfile src/build.xml doc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
|
Loading…
Reference in New Issue
Block a user