OBS User unknown 2008-01-24 12:01:33 +00:00 committed by Git OBS Bridge
parent 8f8658a1c5
commit a72abda918
3 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 24 11:23:25 CET 2008 - skh@suse.de
- fix build with gcj
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 2 11:54:35 CEST 2007 - dbornkessel@suse.de Wed May 2 11:54:35 CEST 2007 - dbornkessel@suse.de

View File

@ -25,7 +25,7 @@ BuildRequires: update-alternatives
Summary: Java XML parser Summary: Java XML parser
Group: Development/Libraries/Java Group: Development/Libraries/Java
Version: 2.8.1 Version: 2.8.1
Release: 154 Release: 155
Requires: xml-commons-which-bootstrap Requires: xml-commons-which-bootstrap
Requires: xml-commons-apis-bootstrap Requires: xml-commons-apis-bootstrap
Requires: xml-commons-resolver-bootstrap Requires: xml-commons-resolver-bootstrap
@ -108,11 +108,13 @@ function compileFiles() {
mkTargetClasspath mkTargetClasspath
set +x set +x
COMPILE_CLASSPATH_PATH=.:${JAR_CLASSPATH} COMPILE_CLASSPATH_PATH=.:${JAR_CLASSPATH}
echo using: $COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $$file echo using: $COMPILER_COMMAND $$file
echo with classpath: $COMPILE_CLASSPATH_PATH
export CLASSPATH=$COMPILE_CLASSPATH_PATH
for file in `find . -name "*.java"` for file in `find . -name "*.java"`
do do
echo -e "$COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $file ... \c" echo -e "$COMPILER_COMMAND $file ... \c"
$COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $file $COMPILER_COMMAND $file
# check for errors # check for errors
if [ $? != 0 ] if [ $? != 0 ]
then then
@ -133,7 +135,7 @@ function mkJar() {
mv ${1}.jar $TARGET_DIR mv ${1}.jar $TARGET_DIR
} }
#<<< #<<<
COMPILER_COMMAND="javac -cp " COMPILER_COMMAND="javac -C "
#<<< end functions #<<< end functions
delBinaryFiles delBinaryFiles
#>>> xerces-j2 #>>> xerces-j2
@ -148,6 +150,7 @@ popd
%install %install
#>>> ant #>>> ant
export NO_BRP_CHECK_BYTECODE_VERSION=true
mkdir -p $RPM_BUILD_ROOT%{_javadir} mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp %{name}.jar $RPM_BUILD_ROOT/%{_javadir}/ cp %{name}.jar $RPM_BUILD_ROOT/%{_javadir}/
#<<< #<<<
@ -165,6 +168,8 @@ rm -rf $RPM_BUILD_ROOT
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6: # vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
%changelog %changelog
* Thu Jan 24 2008 skh@suse.de
- fix build with gcj
* Wed May 02 2007 dbornkessel@suse.de * Wed May 02 2007 dbornkessel@suse.de
- added unzip to BuildRequires - added unzip to BuildRequires
* Wed Nov 15 2006 dbornkessel@suse.de * Wed Nov 15 2006 dbornkessel@suse.de

View File

@ -18,7 +18,7 @@ BuildRequires: java2-devel-packages unzip
%define release 3jpp %define release 3jpp
%define section free %define section free
Version: 2.8.1 Version: 2.8.1
Release: 111 Release: 112
Summary: Java XML parser Summary: Java XML parser
License: The Apache Software License License: The Apache Software License
Url: http://xml.apache.org/xerces2-j/ Url: http://xml.apache.org/xerces2-j/