forked from pool/bea-stax
Accepting request 456866 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/456866 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bea-stax?expand=0&rev=18
This commit is contained in:
parent
ceb927715b
commit
a244429ead
11
bea-stax-gcj43-build.patch
Normal file
11
bea-stax-gcj43-build.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/com/bea/xml/stream/AttributeBase.java
|
||||
+++ src/com/bea/xml/stream/AttributeBase.java
|
||||
@@ -86,7 +86,7 @@
|
||||
public boolean isNamespaceDeclaration() { return false; }
|
||||
public String getLocalName() { return name.getLocalPart(); }
|
||||
public String getValue() { return value; }
|
||||
- public String getDTDType() { return "CDATA"; }
|
||||
+ public javax.xml.namespace.QName getDTDType() { return new javax.xml.namespace.QName("CDATA"); }
|
||||
public String getNamespaceURI() { return name.getNamespaceURI();}
|
||||
public void setNamespaceURI(String uri) { name = new QName(uri,name.getLocalPart()); }
|
||||
|
@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 5 15:31:59 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Use java-devel and not gcj as it is getting deprecated
|
||||
- Drop unused patch bea-stax-gcj43-build.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:05:33 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bea-stax
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@ -26,6 +26,7 @@ Group: Development/Libraries/Java
|
||||
Url: http://dev2dev.bea.com/technologies/stax/index.jsp
|
||||
Source0: stax-src-1.2.0_rc1-dev.zip
|
||||
Patch0: bea-stax-target15.patch
|
||||
Patch1: bea-stax-gcj43-build.patch
|
||||
Patch2: bea-stax-gcj-build.patch
|
||||
|
||||
Name: bea-stax
|
||||
@ -35,7 +36,7 @@ BuildArch: noarch
|
||||
BuildRequires: javapackages-tools
|
||||
%if %defined suse_version
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||
BuildRequires: unzip
|
||||
#BuildRequires: xerces-j2-bootstrap
|
||||
#!BuildIgnore: xerces-j2-bootstrap
|
||||
@ -70,6 +71,9 @@ Streaming API for XML
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
%patch0 -b .target15
|
||||
%if %suse_version <= 1110
|
||||
%patch1 -b .gcj43-build
|
||||
%endif
|
||||
%patch2 -b .gcj-build
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user