diff --git a/glassfish-jaxb-add-dependencies.patch b/glassfish-jaxb-add-dependencies.patch
index 4e07d26..bfebdac 100644
--- a/glassfish-jaxb-add-dependencies.patch
+++ b/glassfish-jaxb-add-dependencies.patch
@@ -66,39 +66,47 @@
4.0.0
com.sun.xml.bind
jaxb-xjc
-@@ -91,6 +85,37 @@
+@@ -91,6 +85,45 @@
http://java.net/projects/jaxb/sources/version2/show/branches/jaxb-2_2-branch/jaxb-ri
+
-+
-+ isorelax
-+ isorelax
-+ system
-+ /usr/share/java/isorelax.jar
-+
-+
-+ msv-msv
-+ msv-msv
-+ system
-+ /usr/share/java/msv-msv.jar
-+
-+
-+ relaxngDatatype
-+ relaxngDatatype
-+ system
-+ /usr/share/java/relaxngDatatype.jar
-+
-+
-+ com.sun.istack
-+ istack-commons-runtime
-+ 2.6.1
-+
-+
-+ com.sun.xml.txw2
-+ txw2
-+ 20110809
-+
++
++ com.sun.codemodel
++ codemodel
++ 2.6
++
++
++ com.sun.xml.dtd-parser
++ dtd-parser
++ 1.2-SNAPSHOT
++
++
++ com.sun.istack
++ istack-commons-tools
++ 2.6.1
++
++
++ relaxngDatatype
++ relaxngDatatype
++ system
++ /usr/share/java/relaxngDatatype.jar
++
++
++ xml-resolver
++ xml-resolver
++ 1.2
++
++
++ org.kohsuke.rngom
++ rngom
++ 201103-SNAPSHOT
++
++
++ com.sun.xsom
++ xsom
++ 20110809
++
+
+
diff --git a/glassfish-jaxb.spec b/glassfish-jaxb.spec
index 4bcfcb7..7ba7092 100644
--- a/glassfish-jaxb.spec
+++ b/glassfish-jaxb.spec
@@ -1,6 +1,6 @@
Name: glassfish-jaxb
Version: 2.2.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: JAXB Reference Implementation
Group: Development/Libraries
@@ -69,10 +69,12 @@ BuildRequires: jing
BuildRequires: stax-ex
BuildRequires: isorelax
BuildRequires: xsom
+BuildRequires: rngom
Requires: glassfish-dtd-parser
Requires: xml-commons-resolver
Requires: xsom
+Requires: rngom
Requires: isorelax
Requires: jing
Requires: stax-ex
@@ -202,6 +204,9 @@ cp -rp apidocs/* %{buildroot}%{_javadocdir}/%{name}/.
%changelog
+* Tue Mar 13 2012 Juan Hernandez 2.2.5-2
+- Add missing xsom and rngom dependencies to the POM files
+
* Sat Mar 10 2012 Juan Hernandez 2.2.5-1
- Updated to upstream version 2.2.5
- Removed classpath from manifest files