Accepting request 496669 from Java:packages
- Do not require the builddeps, only the tools we really use OBS-URL: https://build.opensuse.org/request/show/496669 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adaptx?expand=0&rev=21
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -33,8 +33,6 @@ BuildRequires: log4j
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xerces-j2-xml-apis
|
||||
BuildRequires: xml-commons-apis
|
||||
Requires: ant >= 1.6
|
||||
Requires: javapackages-tools
|
||||
Requires: log4j
|
||||
Requires: xerces-j2
|
||||
Requires: xml-commons-apis
|
||||
@@ -71,11 +69,10 @@ done
|
||||
|
||||
%build
|
||||
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)
|
||||
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
|
||||
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
|
||||
# jar
|
||||
|
Reference in New Issue
Block a user