diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec index 3209ed0..f98509f 100644 --- a/apache-commons-jxpath.spec +++ b/apache-commons-jxpath.spec @@ -16,8 +16,6 @@ BuildRequires: mvn(jdom:jdom) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) -BuildRequires: mvn(xerces:xercesImpl) -BuildRequires: mvn(xml-apis:xml-apis) %description Defines a simple interpreter of an expression language called XPath. @@ -34,6 +32,9 @@ This package contains the API documentation for %{name}. %setup -q -n commons-jxpath-%{version}-src %patch0 -p1 +%pom_remove_dep xerces: +%pom_remove_dep xml-apis: + # Remove dependency on glassfish %pom_remove_dep :servlet-api %pom_remove_dep :jsp-api