Build on Fedora
This commit is contained in:
parent
39c34981dc
commit
a354d18df1
@ -31,8 +31,8 @@ BuildRequires: xml-commons-resolver
|
|||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
Obsoletes: xerces-j
|
# RHEL3 and FC2
|
||||||
Provides: xerces-j
|
Obsoletes: xerces-j <= 0:2.2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Welcome to the future! Xerces2 is the next generation of high
|
Welcome to the future! Xerces2 is the next generation of high
|
||||||
@ -113,6 +113,15 @@ Additional utility scripts for %{name}.
|
|||||||
%setup -T -D -a 1 -n xerces-%{cvs_version}
|
%setup -T -D -a 1 -n xerces-%{cvs_version}
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
|
# Delete stuff that doesn't work with libgcj (#130006).
|
||||||
|
if java -version 2>&1 | grep -q "gcj"; then
|
||||||
|
rm -f samples/dom/traversal/IteratorView.java
|
||||||
|
rm -f samples/dom/traversal/TreeWalkerView.java
|
||||||
|
rm -f samples/ui/DOMTreeFull.java
|
||||||
|
rm -f samples/ui/DOMTree.java
|
||||||
|
rm -f samples/ui/TreeView.java
|
||||||
|
rm -f samples/ui/TreeViewer.java
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
unset CLASSPATH
|
unset CLASSPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user