diff --git a/xmlunit-1.0.pom b/xmlunit-1.0.pom
new file mode 100644
index 0000000..c5aa039
--- /dev/null
+++ b/xmlunit-1.0.pom
@@ -0,0 +1,6 @@
+
+ 4.0.0
+ xmlunit
+ xmlunit
+ 1.0
+
\ No newline at end of file
diff --git a/xmlunit.spec b/xmlunit.spec
index ce28ac4..6d2aa51 100644
--- a/xmlunit.spec
+++ b/xmlunit.spec
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2005, JPackage Project
+# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -28,20 +28,24 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+%define gcj_support 1
+
Name: xmlunit
Version: 1.0
-Release: 4jpp.1%{?dist}
+Release: 5jpp.1%{?dist}
Epoch: 0
-Summary: Unit Testing framework for XML
-License: BSD Style
+Summary: Provides classes to do asserts on xml
+License: BSD
Source0: http://download.sourceforge.net/xmlunit/xmlunit1.0.zip
+Source1: http://repo1.maven.org/maven2/xmlunit/xmlunit/1.0/xmlunit-1.0.pom
Patch0: xmlunit-build_xml.patch
URL: http://xmlunit.sourceforge.net/
-BuildRequires: jpackage-utils >= 0:1.6
-BuildRequires: ant >= 0:1.6
-BuildRequires: ant-junit >= 0:1.6
-BuildRequires: ant-nodeps >= 0:1.6
-BuildRequires: junit >= 0:3.8
+BuildRequires: jpackage-utils >= 0:1.7.3
+BuildRequires: java-devel >= 1.4.2
+BuildRequires: ant >= 0:1.6.5
+BuildRequires: ant-junit
+BuildRequires: ant-trax
+BuildRequires: junit >= 0:3.8.1
BuildRequires: xalan-j2
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
@@ -50,7 +54,14 @@ Requires: xalan-j2
Requires: xml-commons-apis
Requires: jaxp_parser_impl
Group: Development/Testing
+%if ! %{gcj_support}
BuildArch: noarch
+%endif
+%if %{gcj_support}
+BuildRequires: java-gcj-compat-devel
+Requires(post): java-gcj-compat
+Requires(postun): java-gcj-compat
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -73,7 +84,7 @@ find . -name "*.jar" -exec rm -f {} \;
rm -rf doc
cat >build.properties < - 0:1.0-5jpp.1
+- Update to the same version as upstream
+
+ Tue Dec 18 2007 Ralph Apel - 0:1.0-5jpp
+- Add poms and depmap frags
+- Make Vendor, Distribution based on macro
+- Add gcj_support option
+
* Mon Mar 12 2007 Permaine Cheung - 0:1.0-4jpp.1
- Add missing BR, patch to build javadoc, and other rpmlint issues