SHA256
1
0
forked from pool/xerces-j2

Accepting request 18073 from Java:packages

Copy from Java:packages/xerces-j2 based on submit request 18073 from user mvyskocil

OBS-URL: https://build.opensuse.org/request/show/18073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xerces-j2?expand=0&rev=13
This commit is contained in:
OBS User autobuild
2009-09-02 16:28:13 +00:00
committed by Git OBS Bridge
parent 8dc2e9e0c9
commit dd5abfa536
5 changed files with 70 additions and 101 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package xerces-j2-bootstrap (Version 2.8.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,16 +34,19 @@ BuildRequires: update-alternatives
Summary: Java XML parser
Group: Development/Libraries/Java
Version: 2.8.1
Release: 238
Release: 239
Requires: xml-commons-which-bootstrap
Requires: xml-commons-apis-bootstrap
Requires: xml-commons-resolver-bootstrap
License: The Apache Software License
License: Apache Software License ..
Group: Development/Libraries/Java
AutoReqProv: on
Source0: Xerces-J-src.%{version}.tar.bz2
Patch0: xerces-j2-gcj-switch-constants-bug.patch
Patch1: xerces-build.patch
#PATCH-FIX-UPSTREAM bnc#530717
#http://svn.apache.org/viewvc?view=rev&revision=787352
Patch3: xerces-j2-parsing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildArchitectures: noarch
#ExclusiveArch: %ix86
@@ -78,6 +81,7 @@ Implementation page.
%setup -n xerces-%{xerces_version_cvs}
%patch0
%patch1
%patch3 -p1 -b .parsing
#<<<
#>>> %build
@@ -87,6 +91,7 @@ Implementation page.
TARGET_DIR=`pwd`
CLASSPATH_ORIG="$CLASSPATH"
LIB_GCJ="`ls %{_javadir}/libgcj-*.jar`"
export GC_MAXIMUM_HEAP_SIZE="134217728"
#>>> delete binary file and files not needed
function delBinaryFiles() {
set +x
@@ -177,16 +182,3 @@ rm -rf $RPM_BUILD_ROOT
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
%changelog
* Mon Jan 28 2008 ro@suse.de
- explicitly buildreq antlr-bootstrap
* Thu Jan 24 2008 skh@suse.de
- fix build with gcj
* Wed May 02 2007 dbornkessel@suse.de
- added unzip to BuildRequires
* Wed Nov 15 2006 dbornkessel@suse.de
- Changed
PreReq: /usr/sbin/update-alternatives
to
PreReq: update-alternatives
* Fri Sep 22 2006 dbornkessel@suse.de
- first version